Select to view content in your preferred language

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

2101
2
03-25-2012 05:49 PM
DanielBaternik
Deactivated User
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 Alum
0 Kudos
EdanCain
Deactivated User
use the System.Web.Script.Serialization.JavaScriptSerializer. Its been available since .NET 3.5 from memory.

Edan
0 Kudos