Free Electron
|
Stream generator for writing JSON files. More...
#include <JsonWriter.h>
Inherits fe::data::AsciiWriter.
Public Member Functions | |
JsonWriter (sp< Scope > spScope) | |
virtual void | output (std::ostream &a_ostrm, sp< RecordGroup > spRG) |
Private Member Functions | |
virtual void | write (std::ostream &a_ostrm, Record r_out, int a_sb_id) |
virtual void | write (std::ostream &a_ostrm, sp< RecordGroup > spRG, int a_id) |
virtual void | write (std::ostream &a_ostrm, sp< RecordArray > spRA, int a_id) |
virtual void | write (std::ostream &a_ostrm, sp< Layout > spLayout, int a_id) |
virtual void | write (std::ostream &a_ostrm, sp< Attribute > spAttribute) |
Private Attributes | |
sp< JsonValue > | m_spJsonRoot |
Json::Value | m_jsonAttributes |
Json::Value | m_jsonLayouts |
Json::Value | m_jsonRecords |
Json::Value | m_jsonRecordGroups |
Json::Value | m_jsonRecordArrays |
Stream generator for writing JSON files.