JSON Serialisation Implementation (JsonObje) - Use .NET Serialisation Data Contracts?

1956
2
03-25-2012 05:49 PM
DanielBaternik
New Contributor III
Hi,

Does anyone know if the ArcGIS JsonObject class within the SOE Support assembly uses the .NET DataContract attribute when serializing objects?

I"m trying to determine if i can use the [IgnoreDataMember] attribute to avoid circular references from occurring during JSON Serialization.

thanks
0 Kudos
2 Replies
nicogis
MVP Frequent Contributor
0 Kudos
EdanCain
New Contributor II
use the System.Web.Script.Serialization.JavaScriptSerializer. Its been available since .NET 3.5 from memory.

Edan
0 Kudos