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
the lib it's too basic for java usage, it totally miss strong typing, everything returned it's a JSONObject, it shouldn't be like that, that's javascript style nor java.
you should make models of every request/response and return an object for every call, modeled with getter/setter/arraylist/whatever, it shouldn't be the developer to do jsonbobject.get("objects") ... for... etc...
it should really all demanded to libs, with feature like jacksonmapper that convert the json into a pojo
The text was updated successfully, but these errors were encountered:
Hello,
the lib it's too basic for java usage, it totally miss strong typing, everything returned it's a JSONObject, it shouldn't be like that, that's javascript style nor java.
you should make models of every request/response and return an object for every call, modeled with getter/setter/arraylist/whatever, it shouldn't be the developer to do jsonbobject.get("objects") ... for... etc...
it should really all demanded to libs, with feature like jacksonmapper that convert the json into a pojo
The text was updated successfully, but these errors were encountered: