Class JsonNull


public final class JsonNull extends JsonValue
Represents a JSON null value.

This module is incubating. These APIs may change in any version of Helidon, including backward incompatible changes.

  • Method Details

    • instance

      public static JsonNull instance()
      Return the singleton instance of JsonNull.
      Returns:
      the JsonNull instance
    • type

      public JsonValueType type()
      Description copied from class: JsonValue
      Return the type of this JSON value.
      Specified by:
      type in class JsonValue
      Returns:
      the JsonValueType of this value
    • toJson

      public void toJson(JsonGenerator generator)
      Description copied from class: JsonValue
      Write this JSON value to the provided generator.
      Specified by:
      toJson in class JsonValue
      Parameters:
      generator - the generator to write to