11 comments

[ 3.0 ms ] story [ 38.6 ms ] thread
How do I create an array?
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.

It seems like there are overlapping conventions.

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

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.

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".
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.
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.