pub fn nextAlloc(self: *@This(), allocator: Allocator, when: AllocWhen) AllocError!Token 124
125
126pub fn nextAlloc(self: *@This(), allocator: Allocator, when: AllocWhen) AllocError!Token {
return self.nextAllocMax(allocator, when, default_max_value_len);
}
Equivalent to
nextAllocMax(allocator, when, default_max_value_len);This function is only available afterendInput()(orinitCompleteInput()) has been called. See alsostd.json.Tokenfor documentation ofnextAlloc*()function behavior.