mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task: Added a code path allowing parseJSON to be handed a JSON tree
This commit is contained in:
parent
965b7cfd3d
commit
5995320164
2 changed files with 102 additions and 98 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue