Use Unity's Serialization to serialize and deserialize from/to JSON and Binary formats.
To install this package, follow the instructions in the Package Manager documentation.
The Serialization Manual can be found here The Serialization Scripting API can be found here
This version of Serialization is compatible with the following versions of the Unity Editor:
- 2021.3 and later (recommended)