Java and JSON API

-2

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

I've been searching for some time and so far I have not found it.

    
asked by anonymous 23.11.2017 / 00:24

1 answer

0

I particularly like the Google GSON library.

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

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

However, this answer also shows you how to use the lib.

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

    
23.11.2017 / 11:36