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 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.
[1] http://www.jsoneditoronline.org/ [2] https://github.com/josdejong/jsoneditor/
"null" means null but => is the separator instead of :
You can change it via the `separator` option in the options menu.
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.