neic-glass3  1.4.6
jsonparser.h
Go to the documentation of this file.
1 /*****************************************
2  * This file is documented for Doxygen.
3  * If you modify this file please update
4  * the comments so that Doxygen will still
5  * be able to work.
6  ****************************************/
7 #ifndef JSONPARSER_H
8 #define JSONPARSER_H
9 
10 #include <json.h>
11 #include <parser.h>
12 #include <string>
13 #include <memory>
14 
15 namespace glass3 {
16 namespace parse {
34  public:
46  JSONParser(const std::string &defaultAgencyID,
47  const std::string &defaultAuthor);
48 
54  ~JSONParser();
55 
69  std::shared_ptr<json::Object> parse(const std::string &input) override; // NOLINT
70 };
71 } // namespace parse
72 } // namespace glass3
73 #endif // JSONPARSER_H
std::shared_ptr< json::Object > parse(const std::string &input) override
json parsing function
Definition: jsonparser.cpp:23
json parser class
Definition: jsonparser.h:33
glass3 parser class
Definition: parser.h:39
The neic-glass3 project namespace containing all the classes and functions that make up neic-glass3...
JSONParser(const std::string &defaultAgencyID, const std::string &defaultAuthor)
jsonparser constructor
Definition: jsonparser.cpp:13
~JSONParser()
jsonparser destructor
Definition: jsonparser.cpp:19