====== ThinkGeo.MapSuite.WebEdition.IJsonSerializable ====== {{section>upgrade_map_suite_to_10.0}} 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 <strong>JsonMember</strong> attribute. ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#ToJson()|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. === Remarks === For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.IJsonSerializable#ToJson.28.29 === Return Value === ^ Return Type ^ Description ^ | String | A JSON string that contains infomation for the properties marked with the JsonMember attribute of the target object. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ===== Public Properties ===== ===== Protected Properties ===== ===== Public Events ===== __NOTOC__ [[Category:WebEdition]] [[Category:ThinkGeo.MapSuite.WebEdition]]