Interface JsonObjectBase<JVB extends JsonValueBase<JVB>>

    • Method Detail

      • names

        Iterator<String> names()
        Returns field names of this JSON object.
        Returns:
        an Iterator of field names
      • contains

        boolean contains​(String name)
        Checks if this JSON object contains given field name.
        Parameters:
        name - a field name
        Returns:
        true if this JSON object contains given field name, false otherwise
      • get

        JVB get​(String name)
        Returns a JSON value wrapper by given field name.
        Parameters:
        name - a field name
        Returns:
        a JSON value wrapper
      • size

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

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