public final class isValid extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
jsonArray(String c)
Tests if a string is a valid array using
JSONArrayValidator |
static boolean |
jsonObject(String c)
Tests if a string is a valid object using
JSONObjectValidator |
public static boolean jsonArray(String c)
JSONArrayValidator
c
- the string to testpublic static boolean jsonObject(String c)
JSONObjectValidator
c
- the string to test