Free Electron
|
Stream intrepreter for reading JSON files. More...
#include <JsonReader.h>
Inherits fe::data::AsciiReader.
Public Member Functions | |
JsonReader (sp< Scope > spScope) | |
virtual sp< RecordGroup > | input (std::istream &istrm) |
Private Member Functions | |
void | fail (const String &a_message) |
void | handleGroup (String a_key, const Json::Value &a_jsonBlock) |
void | handleAttribute (String a_key, const Json::Value &a_jsonBlock) |
void | handleLayout (String a_key, const Json::Value &a_jsonBlock) |
void | handleTemplate (String a_key, const Json::Value &a_jsonBlock) |
void | handleRecord (String a_layout, String a_key, const Json::Value &a_jsonBlock) |
void | handleInfo (const Json::Value &a_jsonInfo) |
Private Attributes | |
sp< JsonValue > | m_spJsonRoot |
Stream intrepreter for reading JSON files.