Simple tool for create JSON-file in visual way.
Special for 'The Tool Jam 3'.

You can add 3 type of JSON properties (keys...aka 'fields'):
1. Plain - it can be numbers, strings, booleans.
For example:   true
2. Array - some values, separated by delimiter (you can choose delimiter symbol); array parentheses, [],  are not required!
For example:   1, 3.14, true, itch.io
3. Object - some 'key: value', separated  by delimiter (you also can choose delimiter symbol); object parentheses, {},  are not required!
For example:  a: true@ b: May@ c:17.05

To export result file - click 'Save JSON File' button.

Also you can create 'schema' of JSON, that you created,  and export this schema as separate file - for import in this tool next time, so that can save your time in case of many JSON keys.

Beware! 
This tool created for simple ('flat') JSON, so nested objectin arrays, or nested arrays in objects, etc, can work incorrect.
Tool primarily intended to create JSON-files for some apps, so export JSON as object - but you can export as string with ON this special option (it can be useful for js JSON.parse() function); if you choose 'Export as string', fields must not contain a symbol '`'!
And tool can only create JSON-files, not read exist files.

P.S:
Icon from Wikipedia.

Upd-17.05.2023
Tool updated to version 1.1.1, bugfixes and changes:
1) Fixed incorrect Plain values conversion to string - now numbers (int/float) and boolean values correctly saved as their types; for Plain fields for in Arrays / Objects items too.
2) Fixed incorrect tool behaviour, when after save JSON-file you change field values, but next JSON-file has previous fields values.
3) Renamed 'Structure' to 'Scheme' for better function understanding
4) Add option 'Eport as string' to export in js JSON.parse() format.
5) Name of field Key more visual emphasis with font size and boldness.
6) Added archive with examples of: fields inputs, exported JSON-file, exported JSON-file 'as string' and scheme. 
7) Updated item description and in-description mini examples.

StatusReleased
CategoryTool
PlatformsHTML5
AuthorDarchanKaen
Tagsjson, tool

Download

Download
JSON_Maker_v1.1.1_EXAMPLES.zip 87 kB

Leave a comment

Log in with itch.io to leave a comment.