JsonNamespace class: Difference between revisions
From Catglobe Wiki
More actions
 Created page with "{{CGscriptClass_Template |Name=<nowiki>JsonNamespace</nowiki> |Description=<nowiki>The json namespace</nowiki> |Methods= {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki..."  | 
			
(No difference) 
 | 
Revision as of 09:09, 22 September 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.