139
Views
2
Comments
Solved
i need to make the key and value pair from dynamic structure
Question
Application Type
Reactive

Hi 

i have trying to do save the response in static structure from the dynamic response structure can you any one help me to do extract the key an values pair from the json in the format of text.

for your reference i have attached the OML file here.exactly i need to select those json values how i can get that this is the question.

what i need to do means the actual response have status,message and data inside the data i am having multiple data's so here i need to extract the those data's inside that response for your reference i have attached the request and response text file here please check that.


thanks and regards

karthick

SandBox.oml
req_res.txt
2023-07-17 04-42-12
Karthick Balaji
Solution

i am already used that component i am not able to get an idea to find the path of the response in ardojson select method can you help me do that.

 JSON structure is dynamic  i need to write some logic to convert it to key value pair using JSON. can you help me to fix this.

please check my OMl. i am trying to achieve that but i am blank to go further please check and help me to fix that.

thanks

SandBox.oml
2024-12-18 16-06-42
Junaid Syed

Hello Karthick,

Try using ArdoJson component, it should be able to help you achieve what you are looking for.

https://www.outsystems.com/forge/component-overview/413/ardojson

Hope it helps!

Junaid

2023-07-17 04-42-12
Karthick Balaji
Solution

i am already used that component i am not able to get an idea to find the path of the response in ardojson select method can you help me do that.

 JSON structure is dynamic  i need to write some logic to convert it to key value pair using JSON. can you help me to fix this.

please check my OMl. i am trying to achieve that but i am blank to go further please check and help me to fix that.

thanks

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