Package com.alibaba.fastjson2.schema
Class ObjectSchema
java.lang.Object
com.alibaba.fastjson2.schema.JSONSchema
com.alibaba.fastjson2.schema.ObjectSchema
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.fastjson2.schema.JSONSchema
JSONSchema.Type -
Constructor Summary
ConstructorsConstructorDescriptionObjectSchema(JSONObject input) ObjectSchema(JSONObject input, JSONSchema root) -
Method Summary
Methods inherited from class com.alibaba.fastjson2.schema.JSONSchema
assertValidate, assertValidate, assertValidate, assertValidate, assertValidate, assertValidate, assertValidate, equals, getDescription, getTitle, hashCode, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, of, of, of, of, ofValue, parseSchema, toString, validate, validate, validate, validate, validate, validate
-
Constructor Details
-
ObjectSchema
-
ObjectSchema
-
-
Method Details
-
getType
- Specified by:
getTypein classJSONSchema
-
validate
-
validate
- Specified by:
validatein classJSONSchema
-
getProperties
-
getProperty
-
getRequired
-
toJSONObject
- Overrides:
toJSONObjectin classJSONSchema
-
accept
- Overrides:
acceptin classJSONSchema
-
getDefs
-