Topics

Deals

JSON | JavaScript Object Notation

JSON (Javascript object Notation) is light weight data interchange format.
JSON is txt format and independent of language. However it uses conventions used by C family of languages e.g. C,C++,C#.Java
JSON is built on 2 structures
  • Collection of name value pair (In many langauge it relate to - record, struct, hash table)
  • Ordered list of value (In many language it relate to array, vector, list, sequence)


  • Example in JSON:
    {"students":[
           {"firstName":"Steve", "lastName":"Palmer"},
           {"firstName":"Ray", "lastName":"Turner"},
           {"firstName":"Amit", "lastName":"Khanna"}
    ]}



    Like us on facebook


    Facebook comments

    Articles in

    Hive    JSON    Pig