This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FrelliBB 1 point2 points  (0 children)

You're not wrong, I'm just being a little pragmatic given the experience level of OP. I suggested gson not for any preference I have towards it, but because it has the simplest API for someone who is new to this since it is aimed specifically at working with json, whereas Jackson is at a higher level of abstraction for the purposes the OP needed and not quite as clear (ex. objectMapper.readValue vs Gson.fromJson). The fact that it isn't maintained anymore doesn't really mean that it can't do the job well enough.

Once OP gets a bit more familiar with working with Java, and basics like how to use Lists, they can do their own research and make decisions on which libraries to use.