Json module

json_keep_key

procedure · 1 overloadsince 0.27.0Source

Keeps a key from json_read_name: a slice of the input with borrow (unless it had escapes and lives in the scratch space), else a copy.

json_keep_key :: (r: *Json_Reader, key: string) -> string

Keeps a key from json_read_name: a slice of the input with borrow (unless it had escapes and lives in the scratch space), else a copy.

Parameters

key: string

Returns

string

See also