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?
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.