News for hackers. Stuff that matters.
Re:Show HN: hulk, an in-browser JSON editor by lttlrck on Monday July 29, 2013 @11:18PM (#6125220)
This may have some appeal, though I much prefer this implementation [1][2] even if it might be less accessible

[1] http://www.jsoneditoronline.org/ [2] https://github.com/josdejong/jsoneditor/

Re:Show HN: hulk, an in-browser JSON editor by hayksaakian on Tuesday July 30, 2013 @12:35AM (#6125397)
It seems like there are overlapping conventions.

"null" means null but => is the separator instead of :

Re:Show HN: hulk, an in-browser JSON editor by kevinburke on Tuesday July 30, 2013 @01:51AM (#6125542)
Agreed! I'd prefer ":" but when I was testing it out it was difficult to pick it out between the input fields. Hence I went with the Ruby convention.

You can change it via the `separator` option in the options menu.

Re:Show HN: hulk, an in-browser JSON editor by laurent123456 on Tuesday July 30, 2013 @01:44AM (#6125525)
There should be some way to specify the type of a field, for example if someone wants to input the string "false" or "true". Also a phone number such as "+00334561111789" would be converted to an integer "334561111789".
Re:Show HN: hulk, an in-browser JSON editor by kevinburke on Tuesday July 30, 2013 @01:50AM (#6125538)
thanks for the feedback! I'll see if I can make this work. It would be difficult to preserve that value if someone clicks "Add new element" for example but I'll see if I can think of a preference for it.
Re:Show HN: hulk, an in-browser JSON editor by message on Tuesday July 30, 2013 @03:33AM (#6125763)
With this kind of editors you loose simplicity. How can you duplicate one of the objects to make another object? How can you move something in a tree? It just doesn't work for me.
Re:Show HN: hulk, an in-browser JSON editor by ccozan on Tuesday July 30, 2013 @06:06AM (#6126078)
I would add also this http://json.parser.online.fr/ to the discussion, quite useful and nice too.
Re:Show HN: hulk, an in-browser JSON editor by rithi on Tuesday July 30, 2013 @02:20AM (#6125602)
I prefer this kind of visualization: http://jsonviewer.stack.hu/
Re:Show HN: hulk, an in-browser JSON editor by saraid216 on Tuesday July 30, 2013 @12:28AM (#6125383)
How do I create an array?
Re:Show HN: hulk, an in-browser JSON editor by kevinburke on Tuesday July 30, 2013 @01:54AM (#6125545)
Hi saraid216, That's not possible at the moment - the current implementation tries to match like with like.

One of my worries with this project is that JSON is so configurable, if you offered every option at every point you have way too many buttons and it becomes an unusable mess. Still though you should be able to add a button for a dictionary where all the values are lists. I'll add an issue for this in Github.