Hello,
We have two queries using JSON API datasource and both returns data in JSON format as below;
Query-1
{“1”:100,“2”:27.7717391305,“3”:214,“4”:28,“5”:0,“6”:25.104,“7”:28807.407,“8”:-348201.3876}
Query-2
{“id”:1,“n”:“Device Battery”,“t”:“custom”,“d”:“”,“m”:“%”,“p”:“io_113”,“f”:0,“c”:“{"act":0,"appear_in_popup":true,"ci":{},"cm":1,"mu":0,"pos":6,"show_time":false,"timeout":0}”,“vt”:0,“vs”:0,“tbl”:,“ct”:1695125877,“mt”:1695125877}
{“id”:3,“n”:“Fuel Tank Capacity”,“t”:“custom”,“d”:“”,“m”:“l”,“p”:“const214”,“f”:0,“c”:“{"act":1,"appear_in_popup":true,"ci":{},"cm":1,"mu":0,"pos":3,"show_time":false,"timeout":0}”,“vt”:0,“vs”:0,“tbl”:,“ct”:1695125877,“mt”:1695213070}
In “Query-1” result, values coming in “key” field of the jason is actually an id which needs to join with “Query-2”.“id” field. We are not able to join it since id field is coming as key:value pair in Query-1.
Expected output:
Please advice.