Joedb
9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
ui
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
7
namespace
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
joedb::JSON_Error
JSON_Error
Definition
json.h:12
joedb::write_json_string
int write_json_string(std::ostream &out, const std::string &s, bool base64)
Definition
json.cpp:166
joedb::write_json
int write_json(std::ostream &out, const Readable &db, bool base64)
Definition
json.cpp:16
joedb::ok
@ ok
Definition
json.h:12
joedb::infnan
@ infnan
Definition
json.h:12
joedb::utf8
@ utf8
Definition
json.h:12
joedb
Definition
Blob.h:7
Generated by
1.9.8