Code: Select all
String data = new Gson.toJson(myCoolObject)
Code: Select all
{
"reallyUncoolMap": {
"mapKey1": {
"someValue1": "ABC",
}
"mapKey2": {
"someValue2": "DEF",
}
}
}
Code: Select all
{
"mapKey1": {
"someValue1": "ABC",
}
"mapKey2": {
"someValue2": "DEF",
}
}
Mobile version