0

How do we use arrays and object notation in it ? Well how do we post , is JSon a platform dependent or independent language?

2 Answers 2

3

JSON is not a language. It is a data interchange format only.

From the official site

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

A JSON stringifier converts JavaScript data structures into JSON text.

Read more on stringifier.

Sign up to request clarification or add additional context in comments.

Comments

0

JSON is not platform dependent.

It is also not language dependent or not. Rather we see if a language supports the conversion from a JSON string to the language's object/array equivalent.

It is just a object notation to represent objects and its properties, arrays and its elements.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.