public class Validator
extends java.lang.Object
| Constructor and Description |
|---|
Validator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(JSONTokener x)
Strictly validate the JSON text
|
static void |
validate(java.lang.String text)
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 - 2018 Adobe Systems Incorporated. All Rights Reserved"