@Deprecated
public class Validator
extends java.lang.Object
| Constructor and Description |
|---|
Validator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(JSONTokener x)
Deprecated.
Strictly validate the JSON text
|
static void |
validate(java.lang.String text)
Deprecated.
Strictly validate the JSON text
|
public static void validate(java.lang.String text)
throws JSONException
text - The text to check.JSONException - If the text is not valid.public static void validate(JSONTokener x) throws JSONException
x - The tokener to check.JSONException - If the text is not valid.Copyright © 2010 - 2023 Adobe. All Rights Reserved