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;
Composes types during serialization.
Definition Composer.h:101
Writes JSON to a text stream.
Definition JsonWriter.h:46
JSON document node.
Definition Node.h:52
NonCopyable()
Default constructor.
Definition NonCopyable.h:63
uint_type uint16_t
Unsigned 16-bit integer type.
Definition Api-Types.h:38
int_type int64_t
Signed 64-bit integer type.
Definition Api-Types.h:59
int_type int32_t
Signed 32-bit integer type.
Definition Api-Types.h:45
uint_type uint32_t
Unsigned 32-bit integer type.
Definition Api-Types.h:52
uint_type uint64_t
Unsigned 64-bit integer type.
Definition Api-Types.h:66
int_type int16_t
Signed 16-bit integer type.
Definition Api-Types.h:31
uint_type uint8_t
Unsigned 8-bit integer type.
Definition Api-Types.h:24
int_type int8_t
Signed 8-bit integer type.
Definition Api-Types.h:17
JSON-RPC 2.0 services and clients.
Read and write JSON ducuments.
Core module.
Definition Allocator.h:33
Unicode character type.
Definition String.h:67