Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 22

Which class do you use to handle an incoming JSON Message as a stream?

    Correct Answer: C

    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.

Discussion
LeoAliothOption: C

For streaming, jsonParser should be used (C)

orjava

A and C ambiguity. JsonParser and JsonReader reads from a stream.