Rayo::JSON
Constants
KIND_NUMBER = 2
KIND_OTHER = 3
KIND_STRING = 1
MAX_DEPTH = 64
Class methods
hex4(p : Pointer(UInt8)) : Int32
Sourcehexval(c : UInt8) : Int32
Sourceunescape(p : Pointer(UInt8), n : Int32, dst : Pointer(UInt8)) : Int32
Unescapes an already validated JSON string body into dst (dst needs n bytes). Returns length.
valid_utf8?(bytes : Bytes) : Bool
Reject overlong encodings, surrogate codepoints and values above U+10FFFF.