Jakarta JSON Processing (JSON-P, previously also known as just "JSR-353" and "JSR-374") defines a Java based framework for parsing, generating, transforming, and querying JSON documents.
Questions tagged [jakarta-jsonp]
2 questions
3
votes
2 answers
javax.json and jakarta.json in the same application: org.glassfish.json.JsonProviderImpl cannot be cast to jakarta.json.spi.JsonProvider
I am developing an application targeting a Java EE 8 application server (JBoss/Wildfly).
However, one of the dependencies (elasticsearch api) is already using jakarta.json.* classes which results in a ClassCastException at…

Matthias
- 12,053
- 4
- 49
- 91
1
vote
0 answers
How to get a jakarta.json.JsonObject Response using the Java 11 HttpClient?
I want to fetch a jakarta.json.JsonObject in the HttpResponse itself using the Jakarta JSONP API. Right now, I have to fetch it as a String, feed the body into a reader and then get the JsonObject like the code below.
import…

khateeb
- 5,265
- 15
- 58
- 114