DBJsonLoader Class Reference

Ratpac-two: RAT::DBJsonLoader Class Reference
Ratpac-two
RAT::DBJsonLoader Class Reference

Static Public Member Functions

static std::vector< RAT::DBTable * > parse (const std::string &filename)
 
static std::vector< RAT::DBTable * > parseString (const std::string &data)
 
static RAT::DBTableconvertTable (json::Value &jsonDoc)
 

Member Function Documentation

◆ convertTable()

RAT::DBTable * RAT::DBJsonLoader::convertTable ( json::Value jsonDoc)
static

Converts a JSON document to a RATDB table

◆ parse()

std::vector< RAT::DBTable * > RAT::DBJsonLoader::parse ( const std::string &  filename)
static

Returns a list of all tables found in JSON text file filename.

◆ parseString()

std::vector< RAT::DBTable * > RAT::DBJsonLoader::parseString ( const std::string &  data)
static

Returns a list of all tables found in JSON string.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/include/RAT/DBJsonLoader.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/src/DBJsonLoader.cc