Explain what is JSON and uses of JSON in iOS?

Last updated:9/22/2020 7:12:32 PM

1 Answers

Sunil Singh
Sunil Singh

JSON stand for JavaScript Object Notation it is lightweight data-interchange format .

NSJSONSerialization class defined in the foundation framework that includes in iOS version 5 that is used to convert NSData-JSON Object to NSDictionary.

Uses of JSON-

JSON Format is used for serialising and transmitting structureed data over the network.It is primary source of transmitting of data between server and client application . JSON build on two structure-

  1. A Collection of Name/Value pairs in different languages as an object ,record,struct,dictionary, hash table key list and associative array.

  2. An ordered list of value.