public class JsonSerializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Object> |
WRITER_OPTIONS |
| Constructor and Description |
|---|
JsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
JSONtoMaps(InputStream input) |
void |
sendJSON(Writer out,
graphql.ExecutionResult result) |
String |
toJSON(Object data) |
public void sendJSON(Writer out, graphql.ExecutionResult result) throws IOException
IOExceptionpublic Map<String,Object> JSONtoMaps(InputStream input)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.