Title: Android JSON Concept
1Android Training in Chandigarh
2JSON Javascript Object Notation
JSON is "a lightweight data-interchange format".
JSON is syntax for accumulating and transferring
text information. Rather than attempt to chain
references as comma-delimited strings, or have to
deal with the complexity (and overhead) of XML ,
JSON is smaller than XML, and faster and easier
to parse.
3JSON Syntax
- JSON syntax is a subset of Javascript syntax.
JSON data is written as name/value pairs. - A name/value pair consist of a field name (in
double quotes), followed by a colon, and followed
by a value
4JSON Syntax Rules
- 1. Data is in name/value pairs.
- 2. Data is separated by commas.
- 3. Curly braces hold objects.
- 4. Square brackets hold arrays.
5Array
- Array elements are generally of a basic type
(number,string, Boolean or null), however can
also be a nested array or object. Elements are
comma- delimited and contained with in brackets.
6Array with Objects
- Each of it contain multiple comma-delimited
key/value pairs. Objects with an array can be
accessed using the array name and index. This
array having comma- delimited objects
7About us
Android training in Chandigarh BY
CBitss Technologies
A unit of Sukrala I.T
Services Pvt. Ltd.
8OFFICE SCO 23-24-25, LEVEL 3,
near passport office, SEC-34A,
Chandigarh. PHONE 9914641983 WEBSITE
EMAIL navneetlinuxexpert_at_gmail.Com