I have this code in it now...with the entra line after the closing }...
Here is a larger screenshot of it now!
{
"menu" : {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{ "value" : "New", "onclick": "CreateNewDoc()" },
{ "value" : "Open", "onclick": "OpenDoc()" },
{ "value" : "Close", "onclick": "CloseDoc()" }
]
}
}
}
You haven't closed the }
at the end of the json. The correct json would be as follows.
{
"menu" : {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{ "value" : "New", "onclick": "CreateNewDoc()" },
{ "value" : "Open", "onclick": "OpenDoc()" },
{ "value" : "Close", "onclick": "CloseDoc()" }
]
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With