Re: Towards a JSON API for the JDK

2025-05-20 Thread David Vidal Escudero
Hello, So, if such a Json library is added to the JDK, the Java Http module now should accept a JsonDocument implementing something like BodyPublishers.ofJsonDocument, or better yet BodyPublishers.ofJsonEncodable (assuming Eteh proposal). I think also JDBC API should be modified so prepared state

Feedback on JEP 502: Stable Values (Preview)

2025-03-25 Thread David Vidal Escudero
Good day, I love this new feature, and it'll be really useful since I have lots of use cases at real work to try it on. However, I'd like to point out that a less verbose form of this feature would be to pass a Supplier in the StableValue.of method, something like: static final StableValue ORDER