#Trying to access value inside a hashMap

1 messages · Page 1 of 1 (latest)

shell gobletBOT
#

<@&987246399047479336> please have a look, thanks.

shell gobletBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

errant spire
#

What is the error message?

#

And which API are you using, so we can look up the docs?

ebon quail
#

@tender summit When you call .get(0) you don't know that is a JsonObject

#

JsonArray's .get(0) returns Json, which can be an array, an object, a number, a string, a boolean, true, false, or null

#

so thats your root problem

#

other than that what json library are you using and why not just use mine?

ebon quail
#

dev.mccue.json

#

dev.mccue Json 0.2.3

ebon quail
#

@tender summit please don't delete your questions

#

There have been a few times I search over the history to better understand where people get lost