jsonc2.0

TypeJsonIteratorValueJsonNodeJsonAllocatorJsonParserHimlParser

enumTypeextern

varNull : jsonc::Type

varString : jsonc::Type

varArray : jsonc::Type

varObject : jsonc::Type

varInteger : jsonc::Type

varFloat : jsonc::Type

varBoolean : jsonc::Type

structJsonIteratorextern

funnoteq(x : const &jsonc::JsonIterator)const : Bool

funget()const : raw* jsonc::Value

funget_name()const : raw*? const Int8

structValueextern virtual

funset_int(other : Int64) : Void

funset_float(other : Float64) : Void

funset_bool(other : Bool) : Void

funset_str(str : raw* const Int8) : Void

funtype() : jsonc::Type

funset_type(t : jsonc::Type) : Void

funas_str(defVal : raw* const Int8) : raw* const Int8

funas_int() : Int64

funas_float() : Float64

funas_bool() : Bool

funis_null() : Bool

funsize() : Int32

funget(name : raw* const Int8) : raw* jsonc::Value

funget_int(name : raw* const Int8, defval : Int64) : Int64

funget_float(name : raw* const Int8, defval : Float64) : Float64

funget_bool(name : raw* const Int8, defval : Bool) : Bool

funget_str(name : raw* const Int8, defVal : raw* const Int8) : raw* const Int8

funbegin() : jsonc::JsonIterator

funend() : jsonc::JsonIterator

funchildren() : raw*? jsonc::Value

funobjectType() : raw*? jsonc::Value

funto_json(json : &sric::String, isHiml : Bool, level : Int32) : Void

dump to json

structJsonNodeextern

funset(key : raw* const Int8, val : raw* jsonc::JsonNode) : Bool

insert and overwrite by key

funinsert_pair(key : raw* const Int8, val : raw* jsonc::JsonNode) : Void

funinsert(val : raw* jsonc::JsonNode) : Void

funreverse() : Void

fun_append(val : raw* jsonc::JsonNode) : Void

slow than insert

structJsonAllocatorextern

funswap(other : &jsonc::JsonAllocator) : Void

funallocate(size : Int32) : raw* Void

funallocNode(type : jsonc::Type) : raw* jsonc::JsonNode

funstrdup(s : raw* const Int8) : raw* Int8

funalloc_str(s : raw* const Int8) : raw* jsonc::JsonNode

funalloc_float(s : Float64) : raw* jsonc::JsonNode

funalloc_int(s : Int64) : raw* jsonc::JsonNode

funalloc_bool(s : Bool) : raw* jsonc::JsonNode

structJsonParserextern

funinit(allocator : raw* jsonc::JsonAllocator) : Void

funparse(src : raw* Int8) : raw*? jsonc::Value

funget_error() : raw* Int32

funget_end() : raw* Int8

funhas_error() : Bool

structHimlParserextern

varinsertTopLevelObject : Bool

funinit(allocator : raw* jsonc::JsonAllocator) : Void

funparse(src : raw* Int8) : raw*? jsonc::Value

funget_error() : raw* Int32

funget_end() : raw* Int8

funhas_error() : Bool