Answer the question
In order to leave comments, you need to log in
Are there standard ways to work with JSON?
Good afternoon,
I am writing a simple servlet, are there standard methods for working with JSON format in Java?
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
There is the JAXB standard and there is the javax.json package which is part of JavaEE, which includes servlets as well. These are just the standard methods for working with JSON . In addition to these, it is extremely useful to know the reference implementation of org.json and the Jackson and Gson libraries that are used most often.
...standard methods ....
Standard library? No.
But there is gson , jsonp and others.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question