Deserialize to list of the sample JSON.
Application Type
Traditional Web

I want to Deserialize the JSON into a List. But i was not able to frame a correct structure for the Deserialize action. 


[

    [

        {

            "_value": "Asia",

            "_formattedValue": "Asia"

        },

        {

            "_value": "AS-Japan",

            "_formattedValue": "AS-Japan"

        },

        {

            "_value": "Japan",

            "_formattedValue": "Japan"

        },

        {

            "_value": "JP-Tokyo",

            "_formattedValue": "JP-Tokyo"

        },

        {

            "_value": "TK01",

            "_formattedValue": "TK01"

        },

        {

            "_value": "",

            "_formattedValue": ""

        },

        {

            "_value": "1Htr20",

            "_formattedValue": "1Htr20"

        },

        {

            "_value": "%null%",

            "_formattedValue": "Null"

        }

    ],

    [

        {

            "_value": "Asia",

            "_formattedValue": "Asia"

        },

        {

            "_value": "AS-Japan",

            "_formattedValue": "AS-Japan"

        },

        {

            "_value": "Japan",

            "_formattedValue": "Japan"

        },

        {

            "_value": "JP-Tokyo",

            "_formattedValue": "JP-Tokyo"

        },

        {

            "_value": "TK01",

            "_formattedValue": "TK01"

        },

        {

            "_value": "",

            "_formattedValue": ""

        },

        {

            "_value": "1Hes20",

            "_formattedValue": "1Hes20"

        },

        {

            "_value": "%null%",

            "_formattedValue": "Null"

        }

    ]


]

Hi Hanishq,

I am able to deserialize your data. Passed JSON Value through site property.

Attachedoml for your reference.

Hope this will helps

Thanks, Aadhavan S

Sampleeeev18.oml

Hi Aahavan, 

Thanks for your time, I passed the JSON through an Input paramter to an Post API, But I cant able to get the list from the structure that you shared. Can you help me get through this Deserialization.


Thanks

Sorry Aadhavan. I've been working on the client applicantion.


Hi Aadhavan,

I attached the oml and in that Home2 has the text area and a button to trigger the Deserialize action. Please have a look at this

Home2.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.