HashTables HashTables - 1 year ago 99
JSON Question

Looking for JsonParser dependency

I have worked out that JsonParser is in javax.json.stream but i have no idea where i can get a hold of it. Can anyone help me?


That's the library i am looking for.

I have tried looking at the maven repositories and found something similar called

but it does not contain JsonParser.

Answer Source

If you are using maven, you can add the following dependency


you can also download the artefact manually here


For Gradle, use

compile group: 'javax', name: 'javaee-api', version: '7.0'

The site https://mvnrepository.com shows you the different dependencies for different build systems.

Please note that this is only one possible dependency. You can certainly find smaller dependencies, which only contain the classes you want. Simply search for it on google or mavencentral.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download