public class GSONHandleExample extends Object
GSONHandleExample illustrates writing and reading content as a JSON structure using the GSON extra library. You must install the library first.
| Constructor and Description |
|---|
GSONHandleExample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
run(Util.ExampleProperties props) |
static void |
runShortcut(Util.ExampleProperties props) |
static void |
runStrongTyped(Util.ExampleProperties props) |
public static void main(String[] args) throws IOException
IOExceptionpublic static void run(Util.ExampleProperties props) throws IOException
IOExceptionpublic static void runShortcut(Util.ExampleProperties props) throws IOException
IOExceptionpublic static void runStrongTyped(Util.ExampleProperties props) throws IOException
IOExceptionCopyright © 2013-2017 MarkLogic Corporation.