結果 : json_decode equivalent in javascript