JsonNamespace class

From Catglobe Wiki
Revision as of 11:48, 16 December 2011 by Tungocman (talk | contribs)
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.