1

我有原始的json:

{
    "@timestamp":"2019-05-05T19:54:00.455+08:00"
}

我已经定义了结构:

type A struct {
    Timestamp string bson:"@timestamp"
}

如何实现它bson.UnmarshalExtJSON

4

0 回答 0