EvolvingObjects
Parser.h File Reference

This file contains a tiny JSON parser used in DAE. More...

#include "Entity.h"
#include "String.h"
#include "Object.h"

Go to the source code of this file.

Classes

class  eoserial::Parser
 Parser from a JSON source. More...

Detailed Description

This file contains a tiny JSON parser used in DAE.

This parser just handles a subset of JSON grammar, with the following restrictions :

  • all strings must be surrounded by double quotes.
  • everything which is not an object or an array is considered to be a string (even integers, booleans,...).
  • no syntax check is done. We trust the programmer and he has to ensure that every JSON string he produces is valid.
Author:
Benjamin BOUVIER

Definition in file Parser.h.

 All Classes Namespaces Files Functions Variables Typedefs Friends