You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I applied this solution to workaround "json: unsupported type" error, but all fields inside "kubernetes" key (the only nested field I got - generated by fluentbit kubernetes field) is remaining in base64 value in SQS messages.
// error:
// json: unsupported type: map[interface {}]interface{}
// solution:
// to be replaced
// https://github.com/json-iterator/go
// import "encoding/json"
// json.Marshal(&data)
// new
import jsoniter "github.com/json-iterator/go"
var json = jsoniter.ConfigCompatibleWithStandardLibrary
json.Marshal(&data)
The text was updated successfully, but these errors were encountered: