On 5/15/2025 5:27 PM, Remi Forax wrote:
It's not clear to me why JsonArray (for example) has to be an interface instead of a record ?
Oh, you know the answer to this. A record limits us to a single implementation with a rigid representation. Behind an interface, we can hide lazy parsing and inflation, wrapping other representations to reduce copies, etc.