QA Stacks

How do we identify JSON Array & JSON Object...?

How do we identify JSON Array & JSON Object?

Ans: JSON array vs JSON Object could be simply termed as list vs key-value pair.

JSON array in collection of order values with [], while JSON object is collection of key, value pair It starts and close with curly braces { }.

Ex: