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 hope that Sonic library can add an API for modifying the JSON tag names of struct fields.
For example, I would like to modify the JSON tag name of the Name field in the User struct from "json:name" to "json:username". Since the tag information is determined at compile time, reflection mechanism is needed to dynamically modify the tag name.
I hope that Sonic library can add an API for modifying the JSON tag names of struct fields.
For example, I would like to modify the JSON tag name of the Name field in the User struct from "json:name" to "json:username". Since the tag information is determined at compile time, reflection mechanism is needed to dynamically modify the tag name.
The text was updated successfully, but these errors were encountered: