A json file has map and/or list
if the are only 1 element, the file/entry is a map (not a list).
This is importante know it.
And:
in debug mode no error are detected, but release get the error.
how is not the same efect betwen release and debug?
if the are only 1 element, the file/entry is a map (not a list).
This is importante know it.
And:
in debug mode no error are detected, but release get the error.
B4X:
Dim ListaCam As List
ListaCam = Campos.Get("element")
'do this:'
If Campos.Get("element") Is Map Then 'ListaCam es un MAPA ( {} ) porque solo hay un campo o valor. Cuando hay mas de un elemento, internamente es una lista ( [] ).
'Log(ListaCam)
Log("mm3")
...
...
how is not the same efect betwen release and debug?