mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
sceNpJsonParse, sceNpJsonParseBuf and sceNpJsonParseEx with their Init calls, and the sceNpServerErrorJson exports, follow firmware 13.42: a resumable byte-by-byte parser that walks a rule table level by level (member keys compared without case, array elements, keyless wildcard entries until the first unmatched container, a descend flag) and calls the caller's handler for each matched container, key and value. The Buf form uses caller key and value buffers, and the Ex form also reports the stream offset of each event, delivers long strings and numbers in pieces and reports everything when no rules are given. The server error calls read error.code (or a top-level code for the Multi form) and fall back to the HTTP status. Co-Authored-By: Claude Opus 5.5 <[email protected]>