|
UnityEssentials
Small but useful tools and features for Unity
|
Json Serializer used by the SaveData class. More...

Public Member Functions | |
| void | Serialize< T > (T obj, Stream stream, Encoding encoding) |
| Serialize the specified object to stream with encoding. More... | |
| T | Deserialize< T > (Stream stream, Encoding encoding) |
| Deserialize the specified object from stream using the encoding. More... | |
Json Serializer used by the SaveData class.
Definition at line 38 of file SD_JsonSerializer.cs.
| T Essentials.SaveData.SD_JsonSerializer.Deserialize< T > | ( | Stream | stream, |
| Encoding | encoding | ||
| ) |
Deserialize the specified object from stream using the encoding.
| stream | Stream. |
| encoding | Encoding. |
| T | The 1st type parameter. |
Definition at line 77 of file SD_JsonSerializer.cs.
| void Essentials.SaveData.SD_JsonSerializer.Serialize< T > | ( | T | obj, |
| Stream | stream, | ||
| Encoding | encoding | ||
| ) |
Serialize the specified object to stream with encoding.
| obj | Object. |
| stream | Stream. |
| encoding | Encoding. |
| T | The 1st type parameter. |
Definition at line 48 of file SD_JsonSerializer.cs.