|
iText 8.0.0 API
|
Utility class for JSON serialization and deserialization operations. Not for public use. More...
Static Public Member Functions |
|
| static bool | AreTwoJsonObjectEquals (String expectedString, String toCompare) |
| Compares two json strings without considering the order of the elements. More... |
|
| static string | SerializeToString (Object value) |
| Serializes passed object to JSON string. More... |
|
| static string | SerializeToMinimalString (Object value) |
| Serializes passed object to minimal JSON string without spaces and line breaks. More... |
|
| static void | SerializeToStream (Stream outputStream, Object value) |
| static void | SerializeToMinimalStream (Stream outputStream, Object value) |
| static T | DeserializeFromStream< T > (Stream content) |
| Deserializes passed JSON stream to object with passed type. More... |
|
| static T | DeserializeFromString< T > (String content) |
| Deserializes passed JSON string to object with passed type. More... |
|
Utility class for JSON serialization and deserialization operations. Not for public use.
|
inlinestatic |
Compares two json strings without considering the order of the elements.
| expectedString | expected json string |
| toCompare | string for comparison |
|
inlinestatic |
Deserializes passed JSON stream to object with passed type.
| content | the JSON stream which represent object |
| objectType | the type of object which will be deserialized |
| T | the type of object which will be deserialized |
|
inlinestatic |
Deserializes passed JSON string to object with passed type.
| content | the JSON string which represent object |
| objectType | the type of object which will be deserialized |
| T | the type of object which will be deserialized |
|
inlinestatic |
Serializes passed object to minimal JSON string without spaces and line breaks.
| value | the object which will be serialized |
|
inlinestatic |
Serializes passed object to JSON string.
| value | the object which will be serialized |