Frog
|
#include "frog/tagger_base.h"
#include <algorithm>
#include "ticcutils/SocketBasics.h"
#include "ticcutils/PrettyPrint.h"
#include "ticcutils/json.hpp"
#include "frog/Frog-util.h"
Macros | |
#define | LOG *TiCC::Log(err_log) |
#define | DBG *TiCC::Log(dbg_log) |
Functions | |
json | create_json (const vector< tag_entry > &tv) |
vector< TagResult > | json_to_TR (const json &in) |
ostream & | operator<< (ostream &os, const tag_entry &e) |
#define DBG *TiCC::Log(dbg_log) |
#define LOG *TiCC::Log(err_log) |
json create_json | ( | const vector< tag_entry > & | tv | ) |
vector<TagResult> json_to_TR | ( | const json & | in | ) |
convert a JSON structure to a vector of TagResult elements
in | The input JSON |
Used by the server mode to convert incoming JSON to a structure we can further process