Johann
Johann

Reputation: 29877

Does Java have it's own built-in JSON parser

Currently I use Gson for parsing JSON data. Some online tools for testing code allow you to write Java code but don't provide any means of importing packages. CoderPad is one site. Does Java have any built in JSON parser? I couldn't find one.

Upvotes: 4

Views: 1654

Answers (3)

collapsar
collapsar

Reputation: 17238

Java EE 7 has JSON classes related to the pertaining JSR 353 (there also in an overview article on oracle's web presence).

I cannot provide more but the sheer references as i have never worked with this interface.

Upvotes: 0

Tagir Valeev
Tagir Valeev

Reputation: 100279

No, there's no JSON parser in Java. There's a proposal on such feature (see also this bug), but it's not yet assigned to any JDK version.

Upvotes: 4

templefox
templefox

Reputation: 505

The answer is no and will perhaps be no in JAVA 9 as well

Upvotes: 0

Related Questions