1. var json = {"key1":"val1","key2":"val2","key3":"val3"};
    2. if(json.hasOwnProperty("key1")){
    3. console.log(json["key1]);
    4. }