surethink

Results 26 comments of surethink

Yes, it works.but if there are a lot of such structs. mocking them would not be very elegant. to the same struct, In some scenario i want them to be...

In jsoniter, I can appoint specific tagKey to marshal, like this: jsoniter.Config{TagKey: "redis"}.Froze().Marshal(v) If this feature is supported by sonic, I can remove jsoniter totally. thanks FYI: https://github.com/json-iterator/go/blob/master/config.go

> Thank you. I think we can create a fieldmap that contains the mapping of each field's JSON tag name to its field name and its corresponding quoted field name...

> Thanks. We will change lots of code and don't have enough time to do it now. Maybe support in the future. cc @AsterDY Got it. Hope it will be...

> > Thank you. I think we can create a fieldmap that contains the mapping of each field's JSON tag name to its field name and its corresponding quoted field...