Interface JsonArrayBuilder

All Superinterfaces:
Builder<JsonArray>

public interface JsonArrayBuilder extends Builder<JsonArray>
Creates Json arrays. Abstracted from JavaEE/glassfisch.
Author:
Holger Eichelberger, SSE
  • Method Details

    • add

      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      JsonArrayBuilder add(int value)
      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      JsonArrayBuilder add(double value)
      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      JsonArrayBuilder add(boolean value)
      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • add

      Adds a value to the JSON object associated with this array builder.
      Parameters:
      value - the value to add
      Returns:
      this for chaining
    • addNull

      JsonArrayBuilder addNull()
      Adds a null value to the JSON object associated with this array builder.
      Returns:
      this for chaining
    • add

      Adds a value to the JSON object associated with this array builder via an array builder.
      Parameters:
      builder - the object builder
      Returns:
      this for chaining
    • add

      Adds a value to the JSON object associated with this array builder via an object builder.
      Parameters:
      builder - the object builder
      Returns:
      this for chaining