ArduinoJson: F.A.Q

Can I parse data from a stream?

Yes.

Since ArduinoJson 5.8, parseArray() and parseObject() accept Arduino’s Stream and std::istream as input:

JsonObject& root = jsonObject.parseObject(myStream);

CAUTION: parts of the input need to be copied into the JsonBuffer, so you need to increase its capacity accordingly.

See:

Fork me on GitHub