:sig
function json_consume_space(source : string, index : s64) s64

:params
source : JSON source text
index : byte offset where the scan starts

:returns
The byte offset after JSON whitespace.

:content
`json_consume_space()` skips JSON whitespace from `index`. Use `json_decode()` for normal JSON parsing.

:example capy render
print(json_consume_space(" \t\nvalue", 0), "\n")

:see-group
encoding
