json output code example
Example 1: json example
{ "name":"John", "age":30, "car":null }
Example 2: json full form
JSON stands for JavaScript Object Notation.
It is a lightweight format for storing and transporting data.
It is often used when data is sent from a server to a web page.
It is "self-describing" and easy to understand.