public interface IJsonSerializer
Using this interface an application can request a Json string of a complete map yet put non primitive types into that map, and deal with it cleanly.
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
toJson(Object o) |
com.google.gson.JsonElement toJson(Object o)
o
- a leaf object found in the mapCopyright © 2014–2022. All rights reserved.