Метод | Описание | |
---|---|---|
Deserialize ( string json ) : object |
Parses the string json into a value
|
|
Prettify ( string sourceJson ) : string | ||
Serialize ( object obj ) : string |
Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string
|
public static Deserialize ( string json ) : object | ||
json | string | A JSON string. |
Результат | object |
public static Prettify ( string sourceJson ) : string | ||
sourceJson | string | |
Результат | string |
public static Serialize ( object obj ) : string | ||
obj | object | |
Результат | string |