JReadNull

Table of Contents

JReadNull

Description

Read a “null” value from input string.

Parameters

NameDirectionDescription
siinCurrent reading position in input string
is_nulloutPointer 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)

    }
    
    StrIter JReadNull(StrIter si, bool* is_null) {
    if (!StrIterRemainingLength(&si)) {
    return si;
    StrIter before_si = si;
    bool    n;
    si = JReadNull(si, &n);
    
    if (si.pos == before_si.pos) {

Share :