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

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -