4 ms·
If serialisation is painful in Java, you're doing it wrong. Libraries like Jackson make it entirely painless. I would assume JSON parsing is a solved problem
by amarant 4y ago
If serialisation is painful in Java, you're doing it wrong.
Libraries like Jackson make it entirely painless.
I would assume JSON parsing is a solved problem in any typed language.
- eropple 4y agoI've written a lot of code using Jackson and I strongly disagree that it's a solved problem. If you're Java on both ends, it's probably fine, but then your serde style is an implementation detail. And that's great, but if you're not, you are in a bear pit. The lingua franca for JSON specification is JSON Schema, and there is significant impedance mismatch between the standard JSON tools folks use in Java and with JSON Schema as used by most other folks. (Jackson has a nice JSON Schema module for exporting it, but importing/codegen is pretty gross.)