Class JSONTokenNull


  • public class JSONTokenNull
    extends JSONToken
    Represents one "null" token in JSON text.

    Based on RFC 8259, the token text returned by JSONToken.text() is always "null".

    Instances of this class are immutable.

    • Constructor Detail

      • JSONTokenNull

        public JSONTokenNull​(StringLocation begin,
                             StringLocation end,
                             JSONText source)
        Creates one "null" type token of a JSON text.
        Parameters:
        begin - beginning location of this token within the source JSON text
        end - end location of this token within the source JSON text
        source - source JSON text where this token was extracted from