Null safety in Java and JSpecify, NullMarked #2099
-
|
Hello! I've been looking for safer json deserializers for a java project. I did a search here and some minimal testing, but it looks like Moshi doesn't consider JSpecify module annotations. I searched around a bit and didn't find any discussions on the subject. Has there been any thought regarding this, or is it a potential addition? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
We were involved in JSpecify early on. Most of our Java libraries chose the defunct JSR 305 annotations a decade ago, and they haven't changed. We don't maintain a lot of Java anymore. Most of the libraries migrated to Kotlin. Moshi is currently half-abandonware/half-finished software. It's been rewritten in Kotlin for a potential 2.0, but has not been released in many, many years. My take on that is here: #2079 (comment) So I would not get my hopes up with expectations to see a lot of movement here. |
Beta Was this translation helpful? Give feedback.
We were involved in JSpecify early on. Most of our Java libraries chose the defunct JSR 305 annotations a decade ago, and they haven't changed. We don't maintain a lot of Java anymore. Most of the libraries migrated to Kotlin.
Moshi is currently half-abandonware/half-finished software. It's been rewritten in Kotlin for a potential 2.0, but has not been released in many, many years. My take on that is here: #2079 (comment)
So I would not get my hopes up with expectations to see a lot of movement here.