Uses of Class
specialized_checkers.io.CheckerJson
Packages that use CheckerJson
-
Uses of CheckerJson in specialized_checkers.io
Subclasses with type arguments of type CheckerJson in specialized_checkers.ioModifier and TypeClassDescriptionclass
CheckerJson is a specialized checker for validating properties and structure of JSON data represented by Jackson'sJsonNode
.Methods in specialized_checkers.io that return CheckerJsonModifier and TypeMethodDescriptionstatic CheckerJson
CheckerJson.check
(com.fasterxml.jackson.databind.JsonNode json) Creates a CheckerJson for the given JsonNode with a default name.static CheckerJson
Creates a CheckerJson for the given JsonNode and assigns a custom name.static CheckerJson
Creates a CheckerJson from a file with a default name.static CheckerJson
Creates a CheckerJson from a file and assigns a custom name.static CheckerJson
Creates a CheckerJson from a file path with a default name.static CheckerJson
Creates a CheckerJson from a file path and assigns a custom name.CheckerJson.hasLengthBetween
(String path, int min, int max) Checks if the length of the textual property at the specified path is within the given range (inclusive).CheckerJson.hasProperty
(String path) Checks if the JSON contains the specified property path.Checks if the property at the specified path is an array.CheckerJson.isBigDecimal
(String path) Checks if the property at the specified path is a BigDecimal.CheckerJson.isBigInteger
(String path) Checks if the property at the specified path is a BigInteger.Checks if the property at the specified path is binary data.Checks if the property at the specified path is a boolean value.CheckerJson.isContainerNode
(String path) Checks if the property at the specified path is a container node (object or array).Checks if the property at the specified path is a double value.Checks if the property at the specified path is empty.Checks if the property at the specified path is a float value.CheckerJson.isFloatingPointNumber
(String path) Checks if the property at the specified path is a floating point number.Checks if the textual property at the specified path is one of the allowed values.Checks if the integer property at the specified path is within the given range (inclusive).Checks if the property at the specified path is an integer value.CheckerJson.isIntegralNumber
(String path) Checks if the property at the specified path is an integral number.Checks if the property at the specified path is a long value.CheckerJson.isMissingNode
(String path) Checks if the property at the specified path is a missing node.Checks if the property at the specified path is null.Checks if the property at the specified path is a number.Checks if the property at the specified path is a JSON object.Checks if the property at the specified path is a POJO (Plain Old Java Object).Checks if the property at the specified path is a short value.Checks if the property at the specified path is a textual value (string).CheckerJson.matchesRegex
(String path, String regex) Checks if the textual property at the specified path matches the given regular expression.protected CheckerJson
CheckerJson.self()
Returns this instance (for fluent API). -
Uses of CheckerJson in util
Methods in util that return CheckerJsonModifier and TypeMethodDescriptionChecker.isJson()
Checks if the object is a File and returns a CheckerJson for JSON file validation.