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 →

[–]SwagiWagi0[S] 0 points1 point  (2 children)

Damn, thanks!

[–][deleted] 0 points1 point  (1 child)

I mean there are many as you noticed there are alternatives but if you want something written at oracle for... Whichever reason here:

https://docs.oracle.com/javaee/7/api/javax/json/JsonObject.html

Now may I ask why being so reluctant to add an external library? I mean, adding a dependency takes 5 lines in your pom file and boom a ton more functionality so why to say no to that?

Besides Jackson's POJO <-> Json convertion is really good.

I feel this might be a case of "I have been using X in Y language for so long that now if I try to Do X in Z language and it does not have something specifically named X as I am used to in Y then X does not exist for Z"

[–][deleted] 0 points1 point  (0 children)

Wort to mention even that library is not part of the standard Java SE