Reputation: 29877
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
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
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