JReadNull
- Function
- August 22, 2025
Table of Contents
JReadNull
JReadNull
Description
Read a “null” value from input string.
Parameters
Name | Direction | Description |
---|---|---|
si | in | Current reading position in input string |
is_null | out | Pointer to bool set to true if “null” found |
Success
Returns StrIter
advanced past “null”
Failure
Returns original StrIter
if “null” not found
Usage example (Cross-references)
- In
JSON.c:508
:
}
StrIter JReadNull(StrIter si, bool* is_null) {
if (!StrIterRemainingLength(&si)) {
return si;
- In
JSON.c:573
:
StrIter before_si = si;
bool n;
si = JReadNull(si, &n);
if (si.pos == before_si.pos) {