public final class JSONBytesSource extends JSONTextSource
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
normalize(byte[] bytes)
Converts bytes into normalized JSON representation.
|
static <R> R |
parse(byte[] bytes,
JSONTarget<R> target)
Parses source bytes to a specified target.
|
java.lang.String |
toString() |
public static <R> R parse(byte[] bytes,
JSONTarget<R> target)
R - the type of the resultbytes - sourcetarget - targetpublic static byte[] normalize(byte[] bytes)
bytes - source representationpublic java.lang.String toString()
toString in class java.lang.Object