Skip to content

Release 1.0.1

Compare
Choose a tag to compare
@ansel1 ansel1 released this 28 Feb 01:16
· 61 commits to master since this release

When normalizing values using marshaling, if a value is encountered which is a slice or map, vespucci would always convert the value by copying it into a []interface{} or map[string]interface{}.

Now, it first checks whether the type implements json.Marshaler, and prefers marshaling in that case. This is mainly to support json.RawMessage values.