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