0
What is the correct notation for specifying a JSON file that has multiple nested keys and brackets? see this in Bower, Grunt, nodejs, npm, etc. and various web development plugins.
0
What is the correct notation for specifying a JSON file that has multiple nested keys and brackets? see this in Bower, Grunt, nodejs, npm, etc. and various web development plugins.
0
You are referring to the JSON (Javascript Object Notation) format. The format is for example this:
{
"prop": [
1,
2,
3,
4
],
"prop2": "wow"
}
You can check if what you wrote is json in http://jsonlint.com/ , copies there the code and validates, the site tells you whether it is valid json or not.
Basically it’s an object with properties, and those can have properties too, you just have to be careful about doing "prop": "content", attention to the two dots and quotation marks. Also remember that the last element never has a comma.
Browser other questions tagged php json web-application
You are not signed in. Login or sign up in order to post.
I imagine you mean
package.json
... then it’s JSON. I don’t understand what you mean by "learn creation"... and what you mean by "other"? all the different types that exist on the internet?– Sergio