JSON Object View on Asset Store (opens in new tab)

Package details

Latest version
2.1.2
Last updated
First released
Unity version
3.2.0 or later
Package size
37 KB
Files
10
Favorites
855
Views in the past week
24

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

JSON Object

by Defective Studios (opens in new tab)

4.4 / 5 · 231 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 167
4 stars 25
3 stars 20
2 stars 10
1 star 9
Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for JSON Object, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 1

JSON Object screenshot 1

JSON Object screenshot 1

About this asset

A C# class for encoding/decoding JSON data into a usable runtime data structure.
JSONObject is on GitHub
Features:
* To parse, create a JSONObject | JSONObject obj = new JSONObject(str);
* To encode, convert to string | Debug.Log(obj);
* Decode JSON-formatted strings into a usable data structure
* Encode structured data into a JSON-formatted string
* Interoperable with Dictionary and WWWForm
* Optimized parse/stringify functions -- minimal (unavoidable) garbage creation
* Asynchronous stringify function for serializing lots of data without frame drops
* MaxDepth parsing will skip over nested data that you don't need
* Special (non-compliant) "Baked" object type can store stringified data within parsed objects
* Copy to new JSONObject
* Merge with another JSONObject (experimental)
* Random access (with [int] or [string])
* ToString() returns JSON data with optional "pretty" flag to include newlines and tabs
* Switch between double and float for numeric storage depending on level of precision needed (and to ensure that numbers are parsed/stringified correctly)
* Supports Infinity and NaN values
* JSONTemplates static class provides serialization functions for common classes like Vector3, Matrix4x4
* Object pool implementation (experimental)
* Handy JSONChecker window to test parsing on sample data
Note: new version has a revised parser that fixes some prior issues with certain input data
Check out the full documentation on the Unify wiki.

From the publisher's Asset Store listing.