Receive a JSON object or array. Mixin template for transport implementations.
If your transport provides a receiveData function defined as
char[] receiveData(); the receiveJSONObjectOrArray will
call it and return the first complete JSON object or array from the char
stream. Any trailing data is thrown away.
Receive a JSON object or array. Mixin template for transport implementations.
If your transport provides a receiveData function defined as char[] receiveData(); the receiveJSONObjectOrArray will call it and return the first complete JSON object or array from the char stream. Any trailing data is thrown away.