View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1
- Last updated
- First released
- Unity version
- 4.5.0 or later
- Package size
- 1.2 MB
- Files
- 13
- Favorites
- 76
- Views in the past week
- 9
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
SimpleJSON importer
Price $5.00
Buy on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
SimpleJSON importer screenshot 1
About this asset
JSON is a lightweight format for communication between your game and a webserver.
Lightweight as it may be, it is still a lot of work to convert JSON data into usable objects in your game. SimpleJSON deals with all this headache for you in the easiest way possible.
- import JSON
- export JSON and XML
- uses Hashtables and ArrayLists
Imports any JSON string into Unity at runtime. The results are formatted as a hierarchy of plain Hashtables and ArrayLists. And it doesn't throw exceptions the very second your JSON isn't 100% according to standards either.
No fancy stuff, no nonsense, just a lightweight importer and a few handy extensions to the existing C# Hashtable and ArrayList classes to easily retrieve information from the data hierarchy.
Import a JSON string:
myHashtable = SimpleJsonImporter.Import(jsonString);
Export a JSON string:
string jsonString = myHashtable.JsonString();
Query the hierarchy
Hashtable bookInfo = myHashtable.GetNodeWithProperty("Author", "George Orwell");
All source code is included and written in C#. There are no DLL's or hidden stuff.
Like all other Orbcreation packages, it has online documentation.
Version 1.1:
Added extra access functions to data members
Updated result view in demo
Now uses default extension methods, compatible with other Orbcreation packages
Lightweight as it may be, it is still a lot of work to convert JSON data into usable objects in your game. SimpleJSON deals with all this headache for you in the easiest way possible.
- import JSON
- export JSON and XML
- uses Hashtables and ArrayLists
Imports any JSON string into Unity at runtime. The results are formatted as a hierarchy of plain Hashtables and ArrayLists. And it doesn't throw exceptions the very second your JSON isn't 100% according to standards either.
No fancy stuff, no nonsense, just a lightweight importer and a few handy extensions to the existing C# Hashtable and ArrayList classes to easily retrieve information from the data hierarchy.
Import a JSON string:
myHashtable = SimpleJsonImporter.Import(jsonString);
Export a JSON string:
string jsonString = myHashtable.JsonString();
Query the hierarchy
Hashtable bookInfo = myHashtable.GetNodeWithProperty("Author", "George Orwell");
All source code is included and written in C#. There are no DLL's or hidden stuff.
Like all other Orbcreation packages, it has online documentation.
Version 1.1:
Added extra access functions to data members
Updated result view in demo
Now uses default extension methods, compatible with other Orbcreation packages
From the publisher's Asset Store listing.