Hi @ashwathguru.s
If you want to convert the incoming payload to JSON then you will need to parse / iterate through the payload and convert to JSON yourself - we do not provide JSON conversion helpers with EMA.
Not sure what your implementation requirement is exactly - but if all you want to do is convert streaming data to JSON format then you could consider using our Websocket API instead - this uses JSON messages as the data format and therefore may be more suitable i.e. you send JSON message requests to the server and it responds with a JSON payload.
You will find examples in various programming languages on the Download tab.
Full JSON message format documentation is available here.
Hi, thank you for your input. I am new here. Just want to confirm if the content of the data fetched through EMA and websocket API is the same,is it the same ?
Hi @ashwathguru.s , I am also using EMA and want the output data in JSON format. Were you able to convert your data into JSON ? If yes, then can you share the example code ?
Thanks