C# Class DeltaDNA.MiniJSON.Json

This class encodes and decodes JSON strings. Spec. details, see http://www.json.org/ JSON uses Arrays and Objects. These correspond here to the datatypes IList and IDictionary. All numbers are parsed to doubles.
Datei anzeigen Open project: deltaDNA/unity-sdk

Public Methods

Method Description
Deserialize ( string json ) : object

Parses the string json into a value

Serialize ( object obj ) : string

Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string

Method Details

Deserialize() public static method

Parses the string json into a value
public static Deserialize ( string json ) : object
json string A JSON string.
return object

Serialize() public static method

Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string
public static Serialize ( object obj ) : string
obj object
return string