public class JsonHandler extends Object
Constructor and Description |
---|
JsonHandler() |
Modifier and Type | Method and Description |
---|---|
<T extends Command> |
marshall(T command) |
<T extends Command> |
unmarshall(String json,
Class<T> clazz) |
public <T extends Command> T unmarshall(String json, Class<T> clazz) throws IOException
IOException
public <T extends Command> String marshall(T command) throws IOException
IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.