main.ch
Declarations
Public Only
Publicinterface JsonStringEmitter
interface JsonStringEmitter
Publicfunction append_view
Publicfunction append_char
func append_char(self : &JsonStringEmitter, ch : char) : void
Publicstruct JsonStringPrinter
struct JsonStringPrinter : JsonStringEmitter
Publicfunction make
func make() : JsonStringPrinter
Publicfunction append_view
Publicfunction append_char
func append_char(self : &JsonStringPrinter, ch : char) : void
Publicstruct JsonStringBuilder
struct JsonStringBuilder : JsonStringEmitter
Publicfunction append_view
Publicfunction append_char
func append_char(self : &JsonStringBuilder, ch : char) : void
Publicfunction escape_string_into
func escape_string_into<T>(emitter : &, str : &string) : void
Publicfunction append_value
Publicfunction append_value_pretty
Publicstruct DebugJsonSaxHandler
struct DebugJsonSaxHandler
Publicfunction make
func make() : DebugJsonSaxHandler
Publicfunction write_view
Publicfunction writeLine
func writeLine(self : &DebugJsonSaxHandler) : void
Publicfunction on_null
func on_null(self : &DebugJsonSaxHandler) : void
Publicfunction on_bool
func on_bool(self : &DebugJsonSaxHandler, value : bool) : void
Publicfunction on_number
func on_number(self : &DebugJsonSaxHandler, data : *char, len : size_t) : void
Publicfunction on_string
func on_string(self : &DebugJsonSaxHandler, data : *char, len : size_t) : void
Publicfunction on_object_begin
func on_object_begin(self : &DebugJsonSaxHandler) : void
Publicfunction on_object_end
func on_object_end(self : &DebugJsonSaxHandler) : void
Publicfunction on_array_begin
func on_array_begin(self : &DebugJsonSaxHandler) : void
Publicfunction on_array_end
func on_array_end(self : &DebugJsonSaxHandler) : void
Publicfunction on_key
func on_key(self : &DebugJsonSaxHandler, data : *char, len : size_t) : void
Publicstruct ASTJsonHandler
struct ASTJsonHandler : JsonSaxHandler
Publicfunction attach_value
helper: move value `v` into either current container or become the root
Publicfunction on_null
func on_null(self : &ASTJsonHandler) : void
Publicfunction on_bool
func on_bool(self : &ASTJsonHandler, v : bool) : void
Publicfunction on_number
func on_number(self : &ASTJsonHandler, s : *char, len : size_t) : void
Publicfunction on_string
func on_string(self : &ASTJsonHandler, s : *char, len : size_t) : void
Publicfunction on_object_begin
func on_object_begin(self : &ASTJsonHandler) : void
Publicfunction on_object_end
func on_object_end(self : &ASTJsonHandler) : void
Publicfunction on_array_begin
func on_array_begin(self : &ASTJsonHandler) : void
Publicfunction on_array_end
func on_array_end(self : &ASTJsonHandler) : void
Publicfunction on_key
func on_key(self : &ASTJsonHandler, s : *char, len : size_t) : void
function delete
func delete(self : *ASTJsonHandler) : void