Add a no-copy GJSON parse helper
gjson.ParseBytes copies the entire document before returning a result, which is prohibitive for multi-megabyte requests. ParseGJSONBytesNoCopy mirrors the existing GetGJSONBytesNoCopy contract: the returned result references the caller's bytes, so callers must neither retain it nor mutate the buffer while it is in use.
S
sususu committed
ea8882bf26b2a84f4c1880f36126fef40baf4d7e
Parent: 197f520
Committed by sususu98 <33882693+sususu98@users.noreply.github.com>
on 8/8/2026, 4:40:57 PM