Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

JsonNamespace class: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Tungocman (talk | contribs)
No edit summary
Line 1: Line 1:
{{HelpFiles}}
{{CGscriptClass_Template
{{CGscriptClass_Template
|Name=<nowiki>JsonNamespace</nowiki>
|Name=<nowiki>JsonNamespace</nowiki>

Revision as of 10:48, 16 December 2011

JsonNamespace



The json namespace


Methods

  • string Encode(AnyType obj "Object to encode") - Encode an object to a json string
  • string EncodeWcf(AnyType obj "Object to encode") - Encode an object to a json string using Wcf json (where __type is added)
  • AnyType Parse(string json "String to parse") - Parse a json string to an object structure
  • AnyType ParseWcf(string json "String to parse") - Parse a json string to an object structure using Wcf json (where __type is respected)
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.