api
api.ch
Declarations in api.ch
2 declarationsjson
Declarations
Public only
json#
Publicnamespace
namespace json
JsonParseError#
Publicstruct
delete#
function
func delete(self : *JsonParseError) : void
parse#
Publicfunction
parse JSON text into a JsonValue tree
stringify#
Publicfunction
serialize a JsonValue to compact JSON text
stringify_pretty#
Publicfunction
serialize a JsonValue to pretty-printed JSON text
encode#
Publicfunction
typed encode: serialize any Serializer type (including #json structs) to JSON text
__new_counts#
Publicfunction
func __new_counts() : vector<u64>
non-generic helpers: create the encoder state outside generic functions -
__new_encoder#
Publicfunction
decode#
Publicfunction
typed decode: deserialize any Deserializer type (including #json structs) from a JsonValue
decode_str#
Publicfunction
parse + typed decode in one call:
__try_parse#
Publicfunction
non-generic parse helper used by json::decode_str: parses the text and moves