Which class do you use to handle an incoming JSON Message as a stream?
Which class do you use to handle an incoming JSON Message as a stream?
The correct class to handle an incoming JSON message as a stream is JsonParser. JsonReader is used for reading JSON data into a JsonObject or JsonArray, but JsonParser is designed specifically for processing JSON data stream in a streaming way.
For streaming, jsonParser should be used (C)
A and C ambiguity. JsonParser and JsonReader reads from a stream.