Hi,
Thank you very much, it works well.
El Wednesday, June 2, 2021 a la(s) 8:25:10 PM UTC-5, Shai Almog escribió:
> In JSON [] means array or list and {} means object or map. So you do have
> a list of maps in the jSON which is what you see in Java.
>
> Sorry it wasn't clear but I means
In JSON [] means array or list and {} means object or map. So you do have a
list of maps in the jSON which is what you see in Java.
Sorry it wasn't clear but I means java.util.List not com.codename1.ui.List.
If you fix your import the code I posted above should work.
On Wednesday, June 2, 2021
Hi,
In with a JSON validator on the internet I put the URL that I am using:
http://3.12.118.139:8091/scriptcase/app/tempus/blank_ws_autenticar/blank_ws_autenticar.php?usuario=demo1=123
I was able to verify that the ws is working well as the validation resulted
in:
[ { "usuario_id":"17",
Hi,
Return error in List entries = (List)responseMap.get("data");
java.lang.ClassCastException: class java.util.ArrayList cannot be cast to
class com.codename1.ui.List (java.util.ArrayList is in module java.base of
loader 'bootstrap'; com.codename1.ui.List is in unnamed module of loader
Hi,
It's a bit hard to read in this way but it looks like the server returns a
list of users.
So you would need something like this:
Map responseMap = value.getResponseData();
List entries = (List)responseMap.get("data");
usr.getPropertyIndex().populateFromMap((Map)entries.get(0));
On Tuesday,
Hi,
In debug the value value.getResponseData () is:
[image: Muestra.png]
I have "*usuario*" class that implements PropertyBusinessObject to receive
interaction "0" (see image).
When I try to receive the fields from the class they are in null (
Hi,
It's hard to tell. Is the printout of data related to
value.getResponseData()?
What are the fields of User?
How does it fail? Is the user object not set?
If you step over it with a debugger is it set for a short while?
On Monday, May 31, 2021 at 7:14:58 PM UTC+3 rdvg...@gmail.com wrote:
>