Arduino and JSON

Just which Arduino did you say you were using?

OP's not using an Arduino but an ESP8266 as the include lines show. This chip should have enough memory for such stuff.