| Modifier and Type | Class and Description |
|---|---|
static class |
JSONValidator.Type |
| Constructor and Description |
|---|
JSONValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static JSONValidator |
from(Reader r) |
static JSONValidator |
from(String jsonStr) |
static JSONValidator |
fromUtf8(byte[] jsonBytes) |
static JSONValidator |
fromUtf8(InputStream is) |
JSONValidator.Type |
getType() |
boolean |
validate() |
public static JSONValidator fromUtf8(byte[] jsonBytes)
public static JSONValidator fromUtf8(InputStream is)
public static JSONValidator from(String jsonStr)
public static JSONValidator from(Reader r)
public JSONValidator.Type getType()
public boolean validate()
public void close()
throws IOException
IOExceptionCopyright © 2012–2020 Alibaba Group. All rights reserved.