41 lines
747 B
C++
41 lines
747 B
C++
#include "ExampleParser.h"
|
|
#include "JsonListener.h"
|
|
|
|
|
|
void ExampleListener::whitespace(char c) {
|
|
Serial.println("whitespace");
|
|
}
|
|
|
|
void ExampleListener::startDocument() {
|
|
Serial.println("start document");
|
|
}
|
|
|
|
void ExampleListener::key(String key) {
|
|
Serial.println("key: " + key);
|
|
}
|
|
|
|
void ExampleListener::value(String value) {
|
|
Serial.println("value: " + value);
|
|
}
|
|
|
|
void ExampleListener::endArray() {
|
|
Serial.println("end array. ");
|
|
}
|
|
|
|
void ExampleListener::endObject() {
|
|
Serial.println("end object. ");
|
|
}
|
|
|
|
void ExampleListener::endDocument() {
|
|
Serial.println("end document. ");
|
|
}
|
|
|
|
void ExampleListener::startArray() {
|
|
Serial.println("start array. ");
|
|
}
|
|
|
|
void ExampleListener::startObject() {
|
|
Serial.println("start object. ");
|
|
}
|
|
|