Interface of data serializer. More...
Inherited by JsonNetSerializer, and UnityJsonSerializer.
Public Member Functions | |
string | Serialize< T > (T data) |
Serialize the specified data to text. More... | |
T | Deserialize< T > (string text) |
Deserialize the specified text to create new data. More... | |
void | Overwrite< T > (string text, T data) |
Deserialize the specified text to overwrite a existing data. More... | |
Interface of data serializer.
string Serialize< T > | ( | T | data | ) |
Serialize the specified data to text.
T | Data type. |
data | Data. |
Implemented in JsonNetSerializer, and UnityJsonSerializer.
T Deserialize< T > | ( | string | text | ) |
Deserialize the specified text to create new data.
T | Data type. |
text | Text. |
Implemented in JsonNetSerializer, and UnityJsonSerializer.
void Overwrite< T > | ( | string | text, |
T | data | ||
) |
Deserialize the specified text to overwrite a existing data.
T | Data type. |
text | Text. |
data | Data. |
Implemented in JsonNetSerializer, and UnityJsonSerializer.