#Type safety: The method forEach(Consumer) belongs to the raw type Iterable. References to generic ty

12 messages · Page 1 of 1 (latest)

last tartan
supple urchinBOT
#

This post has been reserved for your question.

Hey @last tartan! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

last tartan
#

please help

graceful garnet
#

There might not be much you can do but switch to a different JSON library. Which one are you using?

last tartan
#

JSONsimple

graceful garnet
# last tartan JSONsimple

Doesn't sound like the library usually called that name. Its objects are JsonObject, not JSONObject full caps

#

Any link?

#

Ah, actually my mistake, I'm the one who used the wrong link

#

Anyway, yeah, not much you can do but deactivate the warning or switch to a different library

last tartan
#

i am actually trying with jackson library

graceful garnet
#

I'm not aware of Jackson being helpful for that. Maybe something like json.org