io.keen.client.android
public class AndroidJsonHandler extends Object implements io.keen.client.java.KeenJsonHandler
KeenJsonHandler interface using the built-in
Android JSON library (JSONObject).| Constructor and Description |
|---|
AndroidJsonHandler() |
public Map<String,Object> readJson(Reader reader) throws IOException
readJson in interface io.keen.client.java.KeenJsonHandlerIOExceptionpublic void writeJson(Writer writer, Map<String,?> value) throws IOException
writeJson in interface io.keen.client.java.KeenJsonHandlerIOExceptionpublic void setWrapNestedMapsAndCollections(boolean value)
value - true to enable wrapping, false to disable it.