Removing added fields?

22 views
Skip to first unread message

Kevin Burton

unread,
Mar 17, 2013, 2:23:27 PM3/17/13
to jso...@googlegroups.com
How do I remove the addeded @type, @ref and @id fiields that seem to be produced when I serialize an object?

John DeRegnaucourt

unread,
Mar 17, 2013, 10:03:55 PM3/17/13
to jso...@googlegroups.com
Kevin,

I am not sure why you would want to remove the @type, @ref, or @id fields.  If the receiving program is reading in this JSON, it will use those to make sure it instantiates the correct class.  If a Javascript client receives those, it will just hold onto them but they will do nothing.

Regards,
John

On Sun, Mar 17, 2013 at 2:23 PM, Kevin Burton <ronald.ke...@gmail.com> wrote:
How do I remove the addeded @type, @ref and @id fiields that seem to be produced when I serialize an object?

--
You received this message because you are subscribed to the Google Groups "json-io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-io+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages