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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -