501 - not implemented
501 - not implemented

Reputation: 2688

How to serialize/deserialize java object to/from javax.JSON

Since Java 7 there has been a JSON standard.

Is there a simple or standard solution for serializing Java objects to JSON and back again?

Upvotes: 1

Views: 1006

Answers (2)

bobK
bobK

Reputation: 744

You could use the jaxb annotations.

Upvotes: 1

Ailef
Ailef

Reputation: 7906

You could try Gson. It's very simple and easy to use.

Upvotes: 1

Related Questions