Supportive functions for Serialization. More...
Static Public Member Functions | |
| static string | ToJSON (object o) |
| Converts an object to JSON. More... | |
| static T | FromJSON< T > (string content) |
| Parses a JSON string to generate an object of type T. More... | |
| static object | FromJSON (string content, Type t) |
| Parses a JSON string to generate an object of Type 't'. More... | |
Supportive functions for Serialization.
|
inline static |
Parses a JSON string to generate an object of Type 't'.
| content | The JSON description of the target Object. |
| t | The target type. |
|
inline static |
Parses a JSON string to generate an object of type T.
| content | The JSON description of the target Object. |
| T | The target type. |
|
inline static |
Converts an object to JSON.
| o | Target Object |