Class ObjectSchema
java.lang.Object
com.alibaba.fastjson2.schema.JSONSchema
com.alibaba.fastjson2.schema.ObjectSchema
-
Nested Class Summary
Nested classes/interfaces inherited from class JSONSchema
JSONSchema.Type -
Constructor Summary
ConstructorsConstructorDescriptionObjectSchema(JSONObject input) ObjectSchema(JSONObject input, JSONSchema root) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetProperty(String key) getType()protected ValidateResultvalidateInternal(Object value) Methods inherited from class 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, validate, validateInternal, validateInternal, validateInternal, validateInternal, validateInternal, validateInternal
-
Constructor Details
-
ObjectSchema
-
ObjectSchema
-
-
Method Details
-
getType
- Specified by:
getTypein classJSONSchema
-
validate
-
validateInternal
- Specified by:
validateInternalin classJSONSchema
-
getProperties
-
getProperty
-
getRequired
-
toJSONObject
- Overrides:
toJSONObjectin classJSONSchema
-
accept
- Overrides:
acceptin classJSONSchema
-
getDefs
-