Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Look at the code samples I posted in the "Problem Definition" section, and compare to this sort of thing:

Code Block
{someKey:{"bar":1,":":false,"large pants":"eaten too much",bleh:{"handles nesting":true,"handles arrays":[true,"yes"]}},
anotherKey:{"meh":"fish","[bleh]":false,"large pants":"eaten too much",bleh:{"handles nesting":true,"handles arrays":[true,"yes"]}}}

If you can write Javascript (which I think we can assume is the case for anyone writing javascript (wink)) then you can read JSON. You might prefer to paste it in to a text file and add some line feeds & indentation to make it more readable, but either way, it's a vast improvement over the current .ini format or any proposed alternatives.

...