JSON looks like this

{
    "key": "value",
    "var1": 10,
    "string": "some text",
    "object": {
        "nested": "this is a nested object"
    },
    "array": [
        "a",
        "b"
    ]
}

So the keys eg: "key", "var1" .. always needs the quotes
The "," comma is used to separate a  key:value pair. 

I did use http://jsonlint.com/ to test, if my example is valid.

A very common problem is too many commas eg:

{
    "key": "value",
    "var1": 10,
}
The last comma, needs to be removed. ...

Or with nested objects, if you forget the ":" see my example above. 

hope this helps.

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to