30 #ifndef PT_JSONRPC_FORMATTER_H
31 #define PT_JSONRPC_FORMATTER_H
33 #include <Pt/JsonRpc/Api.h>
34 #include <Pt/Composer.h>
35 #include <Pt/Formatter.h>
36 #include <Pt/NonCopyable.h>
96 const Pt::Char* value,
const char*
id);
98 void onAddBool(
const char* name,
bool value,
const char*
id);
118 void onAddFloat(
const char* name,
float value,
const char*
id);
125 const char* value, std::size_t length,
const char*
id);
167 std::stack<ProcessNode> _parseStack;
176 #endif // PT_JSONRPC_FORMATTER_H
Core module.
Definition: Allocator.h:33
uint_type uint16_t
Unsigned 16-bit integer type.
Definition: Api-Types.h:34
int_type int16_t
Signed 16-bit integer type.
Definition: Api-Types.h:27
uint_type uint64_t
Unsigned 64-bit integer type.
Definition: Api-Types.h:62
uint_type uint8_t
Unsigned 8-bit integer type.
Definition: Api-Types.h:20
JSON document node.
Definition: Node.h:52
Unicode character type.
Definition: String.h:67
int_type int32_t
Signed 32-bit integer type.
Definition: Api-Types.h:41
uint_type uint32_t
Unsigned 32-bit integer type.
Definition: Api-Types.h:48
Composes types during serialization.
Definition: Composer.h:43
Protects derived classes from being copied.
Definition: NonCopyable.h:54
int_type int64_t
Signed 64-bit integer type.
Definition: Api-Types.h:55
int_type int8_t
Signed 8-bit integer type.
Definition: Api-Types.h:13
Writes JSON to a text stream.
Definition: JsonWriter.h:46