easyjson icon indicating copy to clipboard operation
easyjson copied to clipboard

Any docs on how to use easyjson for unmarshaling to map[string]interface{}?

Open sreekanth-cb opened this issue 7 years ago • 2 comments

sreekanth-cb avatar Jun 06 '17 09:06 sreekanth-cb

Easyjson is codegenerator for structs, not for dynamic data with unknown structure. Unmarshal to map[string]interface{} directry is impossible, use default encoding/json for it.

rvasily avatar Jun 06 '17 10:06 rvasily

Reopen as reminder to add documentation about it

rvasily avatar Jun 06 '17 12:06 rvasily