r/java • • Jul 23 '26 • Bravo 1

JEP 540: Simple JSON API (Incubator)

https://openjdk.org/jeps/540
79 Upvotes

81 comments sorted by

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 asBigInteger and asBigDecimal methods. I can ask.

5

u/gnahraf Jul 23 '26

Cool.

I can ask.

Thank you. Both seem like 1-liners