Class Validator
java.lang.Object
org.apache.sling.commons.json.util.Validator
Deprecated.
Utility class for validating JSON text.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.Strictly validate the JSON textstatic void
Deprecated.Strictly validate the JSON text
-
Constructor Details
-
Validator
public Validator()Deprecated.
-
-
Method Details
-
validate
Deprecated.Strictly validate the JSON text- Parameters:
text
- The text to check.- Throws:
JSONException
- If the text is not valid.
-
validate
Deprecated.Strictly validate the JSON text- Parameters:
x
- The tokener to check.- Throws:
JSONException
- If the text is not valid.
-