Function nextAlloc [src]
Equivalent to nextAllocMax(allocator, when, default_max_value_len);
See also std.json.Token for documentation of nextAlloc*() function behavior.
Prototype
pub fn nextAlloc(self: *@This(), allocator: Allocator, when: AllocWhen) Reader.AllocError!Token Parameters
self: *@This()allocator: Allocatorwhen: AllocWhen Possible Errors
Source
pub fn nextAlloc(self: *@This(), allocator: Allocator, when: AllocWhen) Reader.AllocError!Token {
return self.nextAllocMax(allocator, when, default_max_value_len);
}