Added ability to use a custom mapper for serialization#1217
Conversation
|
It's not clear to me that this really make anything easier? You can already convert a table to JSON without anything being built into TableSaw. E.g. here's some code I use to convert a table to JSON to be consumed by Chart.js: |
|
So we use However JsonWriter contains a statically created object mapper with default date formats. Date formats tend to be different around the world. To facilitate this we created our own custom If we allow the use of a custom object mapper in the |
|
|
@benmccann is this abandoned? I'm facing the same issues for my use-case, and this would be a useful inversion. |



Thanks for contributing.
Description
Moved the object mapper instance to the json writer options class and allow it to be configurable.
Testing
Did you add a unit test? yes.