| 限定符和类型 | 类和说明 |
|---|---|
static class |
JSONValidator.Type |
| 构造器和说明 |
|---|
JSONValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.