Java and JSON API

Asked

Viewed 145 times

-2

I wonder if anyone knows a good API and tutorials to create, edit, write and read JSON files in Java.

I’ve been researching for some time and so far I haven’t found.

1 answer

0


I particularly like the lib very much Google GSON.

With it you can, from a Java class, mount your JSON and vice versa.

In the project’s own repository (link above) there is a mini tutorial on how to use it. It’s very simple.

However, that answer also shows how to use lib.


If you want to touch the "nail" JSON, you can use the native Java API: javax.json

Browser other questions tagged

You are not signed in. Login or sign up in order to post.