| Modifier and Type | Class and Description |
|---|---|
static class |
JSONValidator.Type |
| Modifier and Type | Field and Description |
|---|---|
protected char |
ch |
protected int |
count |
protected boolean |
eof |
protected int |
pos |
protected boolean |
supportMultiValue |
protected JSONValidator.Type |
type |
| Constructor and Description |
|---|
JSONValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
fieldName() |
static JSONValidator |
from(Reader r) |
static JSONValidator |
from(String jsonStr) |
static JSONValidator |
fromUtf8(byte[] jsonBytes) |
static JSONValidator |
fromUtf8(InputStream is) |
JSONValidator.Type |
getType() |
boolean |
isSupportMultiValue() |
JSONValidator |
setSupportMultiValue(boolean supportMultiValue) |
protected boolean |
string() |
boolean |
validate() |
protected boolean eof
protected int pos
protected char ch
protected JSONValidator.Type type
protected int count
protected boolean supportMultiValue
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 boolean isSupportMultiValue()
public JSONValidator setSupportMultiValue(boolean supportMultiValue)
public JSONValidator.Type getType()
public boolean validate()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void fieldName()
protected boolean string()
Copyright © 2023. All rights reserved.