avatarWiseL Teach

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

754

Abstract

.</p><figure id="f02c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*L0Yn0DFc9kKq67qg8acN0A.png"><figcaption>Example JSON: <a href="http://www.objgen.com/json?demo=true">http://www.objgen.com/json?demo=true</a></figcaption></figure><p id="7386">Here, in the above example we have one ‘Emergency List’ with two ‘emergency contacts’ with information like ‘name’, ‘phone’ and ‘relationship’.</p><p id="5fe2">JSON mainly consists of two parts: JSON Objects and JSON Arrays</p><blockquote id="4399"><p><b><i>JSON Objects vs. JSON Arrays</i></b></p></blockquote><figure id="d8a8"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*poXWjhICb07uEVL076k0Wg.png"><figcaption></figcaption></figure><figure id="8336"><img src="https

Options

://cdn-images-1.readmedium.com/v2/resize:fit:800/1*2BS2uiWFuIzZzT97B8MbCg.png"><figcaption></figcaption></figure><p id="5328">JSON Objects: { }</p><p id="c119">JSON Arrays: [ ]</p><p id="e408">NOTE: JSON Array can contain and multiple JSON objects and vice-versa.</p><p id="79c9">Try to create JSON of your family or a set of questions or your contacts and post that into comment section. We will check that provide you the required suggestion.</p><p id="08b7">Demo Video Link: <a href="http://www.objgen.com/json?demo=true">http://www.objgen.com/json?demo=true</a></p><p id="fd5f">You can check JSON validity here: <a href="http://jsonlint.com/">http://jsonlint.com</a></p><p id="435a">#AndroidMonk</p><p id="a59a">#WiseLTeach #WiseL</p></article></body>

Learning JSON in minutes @AndroidMonk

JSON parsing is a very common and important thing to learn in programming. Almost every other data coming from server is in the form of JSON (from Android point of view). But before going into the depth lets find out what JSON means.

Definition JSON

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. Thus, widely used in programming.

Example JSON: http://www.objgen.com/json?demo=true

Here, in the above example we have one ‘Emergency List’ with two ‘emergency contacts’ with information like ‘name’, ‘phone’ and ‘relationship’.

JSON mainly consists of two parts: JSON Objects and JSON Arrays

JSON Objects vs. JSON Arrays

JSON Objects: { }

JSON Arrays: [ ]

NOTE: JSON Array can contain and multiple JSON objects and vice-versa.

Try to create JSON of your family or a set of questions or your contacts and post that into comment section. We will check that provide you the required suggestion.

Demo Video Link: http://www.objgen.com/json?demo=true

You can check JSON validity here: http://jsonlint.com

#AndroidMonk

#WiseLTeach #WiseL

Json
Android
Mobile App Development
JavaScript
Recommended from ReadMedium