segmentio/encoding

json.Marshal: unsupported type: map[interface{}]interface{}

Walker-PI opened this issue · 1 comments

_, err := json.Marshal(map[interface{}]interface{}{1: 1})

error: json: unsupported type: map[interface {}]interface {}

This is in parity with the standard library json package, which we aim to maintain.

https://go.dev/play/p/0t0AV6abKXg