Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
nbabu228
Contributor II
Contributor II

using Json structure in twritejsonfield,im facing issue plz help me to create curly brackets{object} inside the square brackets[Array]

output:- {"id":"ssssssss","t1":true,"t2":"AA","t3":[],"t4":[],"t5":null,

"Values":{"s1":["HYD",null,"kggggkgh"],"s2":{"a1":"HYD","a2":null,"s2":"hlkjfgfh"}}}

 

Expected output:-

"id": "ssssssss",        

"t1": true,

        "t2": "AC",

        "t3": [],

        "t4": [],

        "t5": null,

        "values": {

          "s1": [    

            {     <-----------------------this two brackets needed 

              "A1": "Hyd",

              "A2": null,

              "s1": "kggggkgh"

            }

          ],

          "s2": [

            {

              "a1": "hyd",

              "a2": null,

              "s2": "hlkjfgfh"

            }}

Labels (4)
1 Reply
Harvey
Contributor
Contributor

Thankful for the little by little useful exercise. Has conclusively the ordinary impact!