Class JsArrayOfJsObjSpec

    • Method Detail

      • nullable

        public JsSpec nullable()
        Description copied from interface: JsSpec
        Returns the same spec with the nullable flag enabled
        Specified by:
        nullable in interface JsSpec
        Returns:
        the same spec with the nullable flag enabled
      • parser

        public JsSpecParser parser()
        Description copied from interface: JsSpec
        Returns the deserializer used during the parsing process to parse an array of bytes or string
        Specified by:
        parser in interface JsSpec
        Returns:
        the deserializer used during the parsing process to parse an array of bytes or string into a json value
      • test

        public Set<SpecError> test​(JsPath parentPath,
                                   JsValue value)
        Description copied from interface: JsSpec
        verify if the given value satisfy this spec.
        Specified by:
        test in interface JsSpec
        Parameters:
        parentPath - the path where the tested value is located.
        value - the tested value
        Returns:
        a set of path/error pairs