how can i create this json, has one MAP and a list.
here i'm
B4X:
{
"devid": "a6d12dc0c4c2ae3e",
"bateria": 85,
"latitud": 18.4309,
"longitud": -69.97951,
"speed": 0,
"apkver": 1421,
"rc": 0,
"alarm": 0,
"internet": 10,
"rssi": 0,
"product": "",
"manufacturer": "",
"model": "",
"fuse_latitud": 0,
"fuse_longitud": 0,
"fuse_speed": 0,
"fuse_altitud": 0,
"packages": [
{
"package": "youtube"
},
{
"package": "amazon"
}
]
}
here i'm
B4X:
{
"devid": "a6d12dc0c4c2ae3e",
"bateria": 83,
"latitud": 18.4309,
"longitud": -69.9795,
"speed": 0,
"apkver": 1421,
"rc": 0,
"alarm": 0,
"internet": 10,
"rssi": 0,
"product": "",
"manufacturer": "",
"model": "",
"fuse_latitud": 18.430904,
"fuse_longitud": -69.9795,
"fuse_speed": 0.12503488,
"fuse_altitud": -18.5,
"packages": "anywheresoftware.b4a.objects.collections.JSONParser$JSONGenerator@5950d0c"
}
Last edited: