Interface JsonArrayBase<JVB extends JsonValueBase<JVB>>

    • Method Detail

      • get

        JVB get​(int index)
        Returns a JSON value wrapper by given index.
        Parameters:
        index - a position in this JSON array
        Returns:
        a JSON value wrapper
      • size

        int size()
        Returns the size of this JSON array.
        Returns:
        an int
      • isEmpty

        default boolean isEmpty()
        Checks if this JSON array is empty.
        Returns:
        true if this JSON array is empty, false otherwise
      • toList

        default List<Object> toList()
        Converts this JSON array to a Java List.
        Returns:
        a List