28 #ifndef CASA_JSONPARSER_H
29 #define CASA_JSONPARSER_H
105 static int input (
char* buf,
int max_size);
static JsonKVMap parseFile(const String &fileName)
Parse the given file and return the resulting map.
static JsonKVMap parse(const String &command)
Parse the command in the given string and return the resulting map.
static String removeEscapes(const String &in)
Remove all possible escape characters and convert as needed (including ).
void JsonGramerror(const char *)
The global yyerror function for the parser.
static int & position()
Give the current position (for read or update).
Class for parsing Json-style key:value lines.
static JsonKVMap * theirJsonMap
static void setMap(JsonKVMap *map)
Let the parser set the final KeyValueMap.
Class to hold a collection of JSON key:value pairs.
static int input(char *buf, int max_size)
Give the next chunk of input for the scanner.
static const char * theirCommand
String: the storage and methods of handling collections of characters.