Task: Added a code path allowing parseJSON to be handed a JSON tree

This commit is contained in:
Paul Beckingham 2015-07-27 19:07:23 -04:00
parent 965b7cfd3d
commit 5995320164
2 changed files with 102 additions and 98 deletions

View file

@ -32,6 +32,7 @@
#include <string>
#include <stdio.h>
#include <time.h>
#include <JSON.h>
class Task : public std::map <std::string, std::string>
{
@ -157,6 +158,7 @@ public:
private:
int determineVersion (const std::string&);
void parseJSON (const std::string&);
void parseJSON (const json::object*);
void parseLegacy (const std::string&);
void validate_before (const std::string&, const std::string&);
const std::string encode (const std::string&) const;