View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.1.23 or later
- Package size
- 59 KB
- Files
- 12
- Favorites
- 7
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
DOMJson
- Price drop
DOM-Style (Python-Like) JSON parser/writer for Unity C#.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
DOMJson screenshot 1
About this asset
Familiar to Python and web developers alike, DOM-style json parsing is the best way to read and write JSON files when you won't know the full structure beforehand.
Most json serializers for unity need you to serialize a whole class at once. What if you want to change just one variable? What if you're saving key-bindings for a user and you add a new one in your latest release? Are you going to scrap the user's whole file? Not anymore!
DOMJson lets you read and write variables to json files without creating a class beforehand. I've done all the hard work, just buy the asset and take the rest of the day off!
From the publisher's Asset Store listing.
Technical details
- Reads JSON into easy to use node trees.
- JSON trees can be created on the fly (see the screenshots).
- Writes JSON in an easy to read, formatted string with line returns.
- Has no unity dependencies (yet).
- Write bools, ints, floats, doubles, strings or lists of any of the above.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.1.23f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.