JsonNamespace class

From Catglobe Wiki
Revision as of 11:09, 22 September 2011 by Dennis (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>JsonNamespace</nowiki> |Description=<nowiki>The json namespace</nowiki> |Methods= {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.