I understand that serde isn't optimizing for binary size; so maybe that's an acceptable tradeoff for better error messages. If that's the case, feel free to close this issue. Unclear to me how to improve it, but if you have ideas, I'm happy to take as stab at it.
1107 which is included in serde_json v1.0.112 added ~9kb to Wasm binaries.
Here's a reproduction repo that has Wasm files & code for 111 vs 112: https://github.com/jbourassa/tmp-serde-112-bin-increase
I understand that serde isn't optimizing for binary size; so maybe that's an acceptable tradeoff for better error messages. If that's the case, feel free to close this issue. Unclear to me how to improve it, but if you have ideas, I'm happy to take as stab at it.