You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my test data is here
{"uid":1806217,"app":"znt","device_id":"879ce681_d5c7_4bbe_ae48_1e0a11c3bce1","create_time":"2022-02-23 10:17:14"}
the uid attribute is long
i have tried jReJSON.get(key, String.class, new Path("$.uid")),
i tried the jReJSON.get(key, List.class, new Path("$.uid")), or jReJSON.get(key, Object.class, new Path("$.uid"))
the resp is List but the item type is Double. the data is 1806217.0
then i try the jReJSON.get(key, String.class, new Path(".uid")), and convert is to a long manual
when i get moew than one property,
i have to defined a class that contains $.app and $.uid member ?
i think gson convert is worthless, can you remove it or provide an no convert method ?
The text was updated successfully, but these errors were encountered:
my test data is here
{"uid":1806217,"app":"znt","device_id":"879ce681_d5c7_4bbe_ae48_1e0a11c3bce1","create_time":"2022-02-23 10:17:14"}
the uid attribute is long
i have tried jReJSON.get(key, String.class, new Path("$.uid")),
i tried the jReJSON.get(key, List.class, new Path("$.uid")), or jReJSON.get(key, Object.class, new Path("$.uid"))
the resp is List but the item type is Double. the data is 1806217.0
then i try the jReJSON.get(key, String.class, new Path(".uid")), and convert is to a long manual
when i get moew than one property,
i have to defined a class that contains$.app and $ .uid member ?
i think gson convert is worthless, can you remove it or provide an no convert method ?
The text was updated successfully, but these errors were encountered: