Interface JsSpec

    • Method Detail

      • isRequired

        boolean isRequired()
        Returns:
        whether or not the key is optional.
      • nullable

        JsSpec nullable()
        Returns:
        the same spec with the nullable flag enabled
      • optional

        JsSpec optional()
        Returns:
        the same spec with the optional flag enabled
      • parser

        JsSpecParser parser()
        Returns:
        the deserializer used during the parsing process to parse an array of bytes or string into a json value