Allow to use different json encoder at runtime?

How can I keep encoding/json as default but allow to override with a different json encoder at runtime like for e.g. jsoniter?

There is no magic way to do that, you need to write explicit code to decide one over the other somehow.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.