fn parseFromTokenSource(comptime T: type, allocator: Allocator, scanner_or_reader: anytype, options: ParseOptions) ParseError(@TypeOf(load))!Parsed(T)
[src]
scanner_or_reader
must be either a *std.json.Scanner
with complete input or a *std.json.Reader
. Note that error.BufferUnderrun
is not actually possible to return from this function.