Convert/access JSON file like DOM in JavaScript without jQuery? -
i want know how convert or access json file dom in javascript without using jquery.
for example, in json
{"u1" : "a":1 ,"b":5 ,"c":8 }
how apply dom output this?
if desired structure:
var myobject = {"u1": {"a": 1,"b": 5, "c": 8 }}; alert(myobject.u1.a);
Comments
Post a Comment