Uses of Class
com.luchersol.core.specialized_checkers.io.CheckerJson
Packages that use CheckerJson
Package
Description
Specialized checkers for I/O and file system operations.
Core utility classes and base abstractions for the Checker framework.
-
Uses of CheckerJson in com.luchersol.core.specialized_checkers.io
Subclasses with type arguments of type CheckerJson in com.luchersol.core.specialized_checkers.ioModifier and TypeClassDescriptionclassCheckerJson is a specialized checker for validating properties and structure of JSON data represented by Jackson'sJsonNode.Methods in com.luchersol.core.specialized_checkers.io that return CheckerJsonModifier and TypeMethodDescriptionstatic CheckerJsonCheckerJson.check(com.fasterxml.jackson.databind.JsonNode json) Creates a CheckerJson for the given JsonNode with a default name.static CheckerJsonCreates a CheckerJson for the given JsonNode and assigns a custom name.static CheckerJsonCreates a CheckerJson from a file with a default name.static CheckerJsonCreates a CheckerJson from a file and assigns a custom name.static CheckerJsonCreates a CheckerJson from a file path with a default name.static CheckerJsonCreates 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 CheckerJsonCheckerJson.self()Returns this instance (for fluent API). -
Uses of CheckerJson in com.luchersol.core.util
Methods in com.luchersol.core.util that return CheckerJsonModifier and TypeMethodDescriptionChecker.isJson()Checks if the object is a File and returns a CheckerJson for JSON file validation.