Is this a joke? Space seems to be just a lightweight JSON replacement http://spaceful.org/
Is this a joke? Space seems to be just a lightweight JSON replacement http://spaceful.org/
Here are some examples of space in action:
- http://sender.nudgepad.com/demo.html
It is very useful. Happy to answer questions about it.
Not that I like YAML either - I detest encodings that depend on indentation for meaning...
Paste { "name": "John", "age": "29", "foo": [1,2,3] } into the JSON side, and click in the left and move the cursor to force it to update and see what happens (I see it drop the first two list items).
Unlike JSON, in Space order is important and you can have duplicate properties. So in JSON you can't do this:
``` { 'h1' : 'hello world', 'h1' : 'this is a test', } ```
But you can do that in Space.
Edit: here we go https://github.com/nudgepad/space/blob/master/spec.txt
eg: {"test":[1,2,3]} vs test\n item 1\n item 2\n item 3\n
``` test [1,2,3] ```
Space is best for cases where you have small to medium sized objects that are often viewed/edited by humans, such as APIs, config files, schemas, or database objects.