News for hackers. Stuff that matters.
Re:Java in the Small by cbsmith on Wednesday December 18, 2024 @05:55PM (#42456431)
javax.json has been around since Java 7.
Re:Java in the Small by theandrewbailey on Wednesday December 18, 2024 @06:41PM (#42456751)
Re:Java in the Small by cesarb on Wednesday December 18, 2024 @09:34PM (#42457818)
> It's part of Java/Jakarta EE.

If it's part of J2EE, it's in practice "part of Java" since the JDK comes with the J2EE packages built-in...

That is, it came with the J2EE packages built-in, until Java 11 decided to break everything, and force people to get each piece of J2EE from a separate upstream project, with AFAIK no "all of J2EE" uber-jar you could simply copy into your project to restore the status quo. It's no wonder so many projects are to this day stuck on Java 8.

Re:Java in the Small by klez on Thursday December 19, 2024 @11:14AM (#42462868)
> since the JDK comes with the J2EE packages built-in...

Are you sure about that? I just downloaded the Java 8 JDK, and javax.json is not there. And the documentation doesn't mention it either. What am I missing?

Re:Java in the Small by cbsmith on Thursday December 19, 2024 @01:25PM (#42464308)
The JDK doesn't include all the J2EE goodness: https://docs.oracle.com/javaee/7/api/javax/json/package-summ...