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.
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 <strong>JsonMember</strong> attribute.
Members Summary
Public Constructors
Name | Parameters | DeclaringType | Summary |
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Name | Parameters | DeclaringType | Summary |
ToJson | | | 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.
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
<!– ThinkGeo.MapSuite.WebEdition.IJsonSerializable –>
Go Back
Protected Methods
Public Properties
Protected Properties
Public Events