User Tools

Site Tools


thinkgeo.mapsuite.webedition.ijsonserializable

ThinkGeo.MapSuite.WebEdition.IJsonSerializable

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Interface –> Allows an object to control its own serialization and deserialization to/from a JSON string.

Remarks

Any class that wants to utilize the automatic JSON serialization needs to implement this interface. Additionally, the properties that need to be serialized should be marked with the &lt;strong&gt;JsonMember&lt;/strong&gt; attribute.

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodToJson Returns a JSON string that contains infomation for the properties marked with the JsonMember attribute of the target object.

Protected Methods

Name Parameters DeclaringType Summary

Public Properties

Name Return DeclaringType Summary

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

Public Methods

ToJson()

Returns a JSON string that contains infomation for the properties marked with the JsonMember attribute of the target object.

Remarks

Return Value

Return Type Description
String<!– System.String –> A JSON string that contains infomation for the properties marked with the JsonMember attribute of the target object.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.IJsonSerializable –> Go Back

Protected Methods

Public Properties

Protected Properties

Public Events

thinkgeo.mapsuite.webedition.ijsonserializable.txt · Last modified: 2017/03/16 21:59 (external edit)