var root = tj_decode(...); var obj1 = tj_get(root, "obj1"); var item1 = tj_get(obj1, "item1"); var w = item1[0];