Skip to content

json: unsupported type: map[interface {}]interface{} #10

@ronaldoalvescosta

Description

@ronaldoalvescosta

// 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions