Fast, light-weight JSON for all your needs.Made for Unity 2018 but works perfectly all the way from 5.1.0 to Unity 2021. Completely stand-alone, nothing but C# for maximum compatibility.
Does all the basic things. Create and modify JSON, parse strings to JSON and turn JSON objects to strings (compact or pretty), serialize objects to JSON and JSON back to objects. But also:
Made with Unity and easy usage in mind:
- You can follow content of JSON objects directly in Unity Editor when application is playing
- Complete inline C# documentation of all classes and methods
- Very informative exception messages for easy debugging
Safe:
- JSON objects can be set protected to prevent accidental modifying
- Strongly typed, you can't accidentally read values in wrong format
- Prevents creating circular JSON structures
Going the extra mile:
- Supports all different C# number types, but also numbers of any size outside long/double range
- Debug IDs helps to track down exception sources even when stack trace is not available
- Multiple examples, also real-life data examples
- Keeps key/value pairs of JSON object in order
- API documentation also available online