Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
json.h
Go to the documentation of this file.
1#ifndef joedb_json_declared
2#define joedb_json_declared
3
4#include <iosfwd>
5#include <string>
6
7namespace joedb
8{
9 class Readable;
10
11 /// @ingroup ui
12 enum JSON_Error {ok = 0, utf8 = 1, infnan = 2};
13 /// @ingroup ui
14 int write_json(std::ostream &out, const Readable &db, bool base64);
15 /// @ingroup ui
16 int write_json_string(std::ostream &out, const std::string &s, bool base64);
17}
18
19#endif
JSON_Error
Definition json.h:12
int write_json_string(std::ostream &out, const std::string &s, bool base64)
Definition json.cpp:166
int write_json(std::ostream &out, const Readable &db, bool base64)
Definition json.cpp:16
@ ok
Definition json.h:12
@ infnan
Definition json.h:12
@ utf8
Definition json.h:12
Definition Blob.h:7