1 jso.to_string()={ "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 2 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 3 flags: 0x0, key: obj1, index: -1, value: 123 4 flags: 0x0, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 5 flags: 0x0, key: subobj1, index: -1, value: "aaa" 6 flags: 0x0, key: subobj2, index: -1, value: "bbb" 7 flags: 0x0, key: subobj3, index: -1, value: [ "elem1", "elem2", true ] 8 flags: 0x0, key: (null), index: 0, value: "elem1" 9 flags: 0x0, key: (null), index: 1, value: "elem2" 10 flags: 0x0, key: (null), index: 2, value: true 11 flags: 0x2, key: subobj3, index: -1, value: [ "elem1", "elem2", true ] 12 flags: 0x2, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 13 flags: 0x0, key: obj3, index: -1, value: 1.234 14 flags: 0x0, key: obj4, index: -1, value: [ true, false, null ] 15 flags: 0x0, key: (null), index: 0, value: true 16 flags: 0x0, key: (null), index: 1, value: false 17 flags: 0x0, key: (null), index: 2, value: null 18 flags: 0x2, key: obj4, index: -1, value: [ true, false, null ] 19 flags: 0x2, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 20 json_c_visit(emit_object)=0 21 ================================ 22 23 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 24 flags: 0x0, key: obj1, index: -1, value: 123 25 flags: 0x0, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 26 flags: 0x0, key: subobj1, index: -1, value: "aaa" 27 flags: 0x0, key: subobj2, index: -1, value: "bbb" 28 flags: 0x0, key: subobj3, index: -1, value: [ "elem1", "elem2", true ] 29 flags: 0x2, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 30 flags: 0x0, key: obj3, index: -1, value: 1.234 31 flags: 0x0, key: obj4, index: -1, value: [ true, false, null ] 32 flags: 0x2, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 33 json_c_visit(skip_arrays)=0 34 ================================ 35 36 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 37 flags: 0x0, key: obj1, index: -1, value: 123 38 flags: 0x0, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 39 flags: 0x0, key: subobj1, index: -1, value: "aaa" 40 POP after handling subobj1 41 flags: 0x2, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 42 flags: 0x0, key: obj3, index: -1, value: 1.234 43 STOP after handling obj3 44 json_c_visit(pop_and_stop)=0 45 ================================ 46 47 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 48 flags: 0x0, key: obj1, index: -1, value: 123 49 flags: 0x0, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 50 flags: 0x0, key: subobj1, index: -1, value: "aaa" 51 flags: 0x0, key: subobj2, index: -1, value: "bbb" 52 ERROR after handling subobj1 53 json_c_visit(err_on_subobj2)=-1 54 ================================ 55 56 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 57 flags: 0x0, key: obj1, index: -1, value: 123 58 flags: 0x0, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 59 flags: 0x0, key: subobj1, index: -1, value: "aaa" 60 flags: 0x0, key: subobj2, index: -1, value: "bbb" 61 flags: 0x0, key: subobj3, index: -1, value: [ "elem1", "elem2", true ] 62 flags: 0x0, key: (null), index: 0, value: "elem1" 63 POP after handling array[0] 64 flags: 0x2, key: subobj3, index: -1, value: [ "elem1", "elem2", true ] 65 flags: 0x2, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 66 flags: 0x0, key: obj3, index: -1, value: 1.234 67 flags: 0x0, key: obj4, index: -1, value: [ true, false, null ] 68 flags: 0x0, key: (null), index: 0, value: true 69 POP after handling array[0] 70 flags: 0x2, key: obj4, index: -1, value: [ true, false, null ] 71 flags: 0x2, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 72 json_c_visit(pop_array)=0 73 ================================ 74 75 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 76 flags: 0x0, key: obj1, index: -1, value: 123 77 flags: 0x0, key: obj2, index: -1, value: { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] } 78 flags: 0x0, key: subobj1, index: -1, value: "aaa" 79 flags: 0x0, key: subobj2, index: -1, value: "bbb" 80 flags: 0x0, key: subobj3, index: -1, value: [ "elem1", "elem2", true ] 81 flags: 0x0, key: (null), index: 0, value: "elem1" 82 STOP after handling array[1] 83 json_c_visit(stop_array)=0 84 ================================ 85 86 flags: 0x0, key: (null), index: -1, value: { "obj1": 123, "obj2": { "subobj1": "aaa", "subobj2": "bbb", "subobj3": [ "elem1", "elem2", true ] }, "obj3": 1.234, "obj4": [ true, false, null ] } 87 json_c_visit(err_return)=-1 88 ================================ 89
This page was automatically generated by LXR 0.3.1. • OpenWrt