Uses of Class
jsonvalues.spec.JsObjSpecBuilder
Packages that use JsObjSpecBuilder
Package
Description
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications
(specs) and parsers.
-
Uses of JsObjSpecBuilder in jsonvalues.spec
Methods in jsonvalues.spec that return JsObjSpecBuilderModifier and TypeMethodDescriptionJsObjSpecBuilder.withAliases
(List<String> aliases) Sets aliases for the JsObjSpec.Sets the documentation for the JsObjSpec.JsObjSpecBuilder.withFieldAliases
(Map<String, List<String>> fieldsAliases) Sets field aliases for the JsObjSpec.JsObjSpecBuilder.withFieldDocs
(Map<String, String> fieldsDoc) Sets the field-level documentation for the JsObjSpec.JsObjSpecBuilder.withFieldOrders
(Map<String, JsObjSpecBuilder.ORDERS> fieldsOrder) Sets the order for fields in the JsObjSpec.JsObjSpecBuilder.withFieldsDefaults
(Map<String, JsValue> fieldsDefaults) Sets default values for fields in the JsObjSpec.JsObjSpecBuilder.withMaxProperties
(int maxProperties) Sets the maximum number of properties that the JSON object must have.JsObjSpecBuilder.withMinProperties
(int minProperties) Sets the minimum number of properties that the JSON object must have.static JsObjSpecBuilder
Sets the name of the JSON object specification.JsObjSpecBuilder.withNamespace
(String nameSpace) Sets the namespace of the JSON object specification.