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
Is it possible to support custom JSON tag for binding data? As sometime for the same data, we will want to support snake case and camel case for the same field.
Example:
type Person struct {
DateOfBirth string `json:"dateOfBirth" sjson:"date_of_birth"`
}
The text was updated successfully, but these errors were encountered:
Hi
Is it possible to support custom JSON tag for binding data? As sometime for the same data, we will want to support snake case and camel case for the same field.
Example:
The text was updated successfully, but these errors were encountered: