Open samsullivan opened 9 months ago
Also, the type safety isn't the best here, since you can convert any interface to gojq.PreparedData
without actually normalizing numbers...
Fantastic work @samsullivan ! Hopefully this gets tested and approved :)
RE: https://github.com/itchyny/gojq/issues/236
I don't love the naming decisions of this implementation, but the main idea is that I needed a way to run normalize numbers once for a JSON payload. Should also be backwards compatible with existing functions.
For an example implementation: https://github.com/samsullivan/jqless/pull/3