mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Huge refactoring in progress...
This commit is contained in:
@@ -16,9 +16,8 @@ class JsonParser {
|
||||
public:
|
||||
JsonParser(JsonBuffer *buffer, char *json) : _buffer(buffer), _ptr(json) {}
|
||||
|
||||
JsonArray parseArray();
|
||||
JsonObject parseObject();
|
||||
JsonValue parseValue();
|
||||
JsonArray &parseArray();
|
||||
JsonObject &parseObject();
|
||||
|
||||
private:
|
||||
bool isEnd() { return *_ptr == 0; }
|
||||
@@ -26,7 +25,7 @@ class JsonParser {
|
||||
bool skip(char charToSkip);
|
||||
void skipSpaces();
|
||||
|
||||
void parseValueTo(JsonValue);
|
||||
void parseAnythingTo(JsonValue &destination);
|
||||
inline void parseBooleanTo(JsonValue &destination);
|
||||
inline void parseNullTo(JsonValue &destination);
|
||||
inline void parseNumberTo(JsonValue &destination);
|
||||
|
||||
Reference in New Issue
Block a user