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
  • 18,103
  • 8
  • 49
  • 77
501 - not implemented
  • 2,578
  • 4
  • 37
  • 72

2 Answers2

1

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

The Coding Monk
  • 7,294
  • 12
  • 39
  • 53
1

You could use the jaxb annotations.

bobK
  • 664
  • 2
  • 8
  • 22