Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
I am looking for a json editor with a gui — Gideros Forum

I am looking for a json editor with a gui

piepie Member
edited March 2015 in Game & application design
I use a lot of json files in my game to quickly add data, variables and dialogues.

Do you know of any editor that I could use to compile those faster than Notepad+or http://tomeko.net/software/JSONedit/ and CTRL+C/CTRL+V? :)

My dream is a windows desktop based environment (offline), that can provide an entry form based on a custom schema to add only "expected" values to my file, in order to limit human error while inserting new values.
I took a look around on the internet but I can't find what I am looking for.

Thank you :)





Comments

  • totebototebo Member
    In my mind JSON is an "end format" and not a format used for working files. Maybe it is easier to find a tool that specialises in ordering data, and export to JSON?

    My Gideros games: www.totebo.com
  • piepie Member
    Unfortunately I couldn't find any that I could "bend" to my requirements, but I am still looking for it... :)
    Do you have something in mind?
    Thank you
  • I found this website, and tried it. Worked like a charm for me.
    https://sunlightfoundation.com/blog/2014/03/11/making-json-as-simple-as-a-spreadsheet/

    Copy json content and it will transport it to an excel table. Work in excel environment , and when your job finished just vice verse.
  • piepie Member
    The problem is in the structure of my json files:
    I have nested tables, which is something that "usual" json converter doesn't handle very well, that was the reason I was looking for a "gui" to do this manually in a defined schema.

    For an example see attached screenshot:
    This is just one of potentially many quests: i can see no way to write it down as a spreadsheet

    I think I could work either in XML or another file format, but I need it to be exported in the end as the example (or I need to rewrite a lot of things.. :D)


    thank you
    jsonStruct.png
    617 x 467 - 19K
  • tomekotomeko Member
    Sorry if I would be telling the obvious but have you tried creating kind of "big" template and the cutting it down with JSON editor?
    By "big" template I mean file that has (almost?) maximum number of everything, e.g. 100 of quests with 10 waypoints for each and with all or at least most popular reward items for every waypoint. Then for quick navigation use "Expand all" function on quest or waypoint and delete not needed elements - that would most likely require just Delete key and down arrow, so I think it may be hard to beat even with custom editor. If there are many more array elements than needed - use "Delete all siblings after node" from context menu.
    Some specific easy to find text(s) used as default may be handy to be able to check for any not filled text fields after editing.
  • piepie Member
    thank you @tomeko I am actually doing something similar to your suggestion, but on very long files it's hard to follow the stream even collapsing/expanding nodes :)

    Things are made more difficult by the sorting order in "node view":
    for example, after node 1 come nodes 10, 11, 12 and so on
    or other times I have objects/arrays mixed up with "flat values" (because of the alphabetical ordering) making difficult to quickfind an entry.

    However, if you are the developer of this editor you will be happy to know that it is the best json editor I found out there (and I searched a lot) thank you :)

  • tomekotomeko Member
    edited May 2015
    Regarding node sorting for object/map - perhaps adding leading "0" to node name (assuming they are not going over "99" and treated as numbers later) would not break your application. This may also look nicer when viewed as text.
  • piepie Member
    That is a good idea, but the app crashes.
    I suppose I will have to clean those 0 out manually before saving, or add a piece of code in app to fix them when loaded.
    thank you for your interest though :)
  • New settings to preserve original order of object elements is available in JSONedit 0.9.12. If this is enabled then node reordering for these elements (Up/Down buttons) in tree view is also available.

    Likes: pie

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.