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"`
}
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: