MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1v4huvt/jep_540_simple_json_api_incubator/ozbu25e/?context=3
r/java • u/loicmathieu • Jul 23 '26
81 comments sorted by
View all comments
Show parent comment
12
It doesn't seem like an oversight because the documentation explicitly mentions BigInteger and BigDecimal. I don't know why there are no asBigInteger and asBigDecimal methods. I can ask.
asBigInteger
asBigDecimal
5 u/gnahraf Jul 23 '26 Cool.I can ask.Thank you. Both seem like 1-liners
5
Cool.
I can ask.
Thank you. Both seem like 1-liners
View all comments
Show parent comment
12
u/pron98 Jul 23 '26
It doesn't seem like an oversight because the documentation explicitly mentions BigInteger and BigDecimal. I don't know why there are no
asBigIntegerandasBigDecimalmethods. I can ask.