1

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?

Stewart
  • 17,616
  • 8
  • 52
  • 80
501 - not implemented
  • 2,638
  • 4
  • 39
  • 74

2 Answers2

1

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

The Coding Monk
  • 7,684
  • 12
  • 41
  • 56
1

You could use the jaxb annotations.

bobK
  • 704
  • 2
  • 7
  • 24