#Can you decode into "generic" JSON values?
1 messages · Page 1 of 1 (latest)
you can't, the json type only exists when serialising.
you can use json_value to turn your data into a generic AST for example
Cool json_value looks neat
Would there be a performance hit with this?
oh I see, read the code
cool that's perfect. was basically what I'd reimplement
thank you 😊
you can technically abuse some implementation details of the platform you're targetting to skip some steps in the process
note that this is not recommended though
beam in this case
Benchmark and profile first, if you learn that this is your bottleneck then you can optimise it