That's not what I found in my own experiments, I still had to unmarshal once inside the callback to get the `type` field out, then again once I knew what the type was. Do you have an example handy?
[1]: https://pkg.go.dev/github.com/go-json-experiment/json
[2]: https://github.com/golang/go/issues/71497
[3]: https://github.com/golang/go/discussions/63397 [1]: https://gitlab.com/cznic/sqlite/-/issues/154
[2]: https://gitlab.com/cznic/sqlite/-/issues/164 [1]: https://www.python.org/dev/peps/pep-0591/