question

Upvotes
Accepted
27 2 4 9

JSON format Java EMA API

Hi

I am using Java EMA API but the output data is not JSON. I know, Websocket API outputs data in JSON format. Is there any way to output the data in JSON format using Java EMA API?

Thanks

Dhruv

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apijson-payload
dataformat.png (34.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
9.7k 49 38 60

Hi @dhruv.arora,

I believe you already saw this response regarding this question. In short, if you want to get JSON messages directly from the server, you will have to use the WebSocket capability. You can still use Java as the WebSocket service is language agnostic. Otherwise, you will need to create your own conversion utility to map incoming OMM messages into JSON.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea