@@ -6,16 +6,19 @@ It has the following features:
66
77 - Primitives types cause zero allocations.
88 - Supports map of almost all types.
9- - Supports both Numbered and Normal arrays i.e. "Array[0]" and just "Array" with multiple values passed.
9+ - Supports both Numbered and Normal arrays i.e. "Array[0]" and just "Array"
10+ with multiple values passed.
1011 - Allows for Custom Type registration.
11- - Handles time.Time using RFC3339 time format by default, but can easily be changes usings registering a Custom Type.
12+ - Handles time.Time using RFC3339 time format by default,
13+ but can easily be changes usings registering a Custom Type.
1214
1315Common Questions
1416
1517Questions
1618
1719 Does it support encoding.TextUnmarshaler?
18- No because TextUnmarshaler only accepts []byte but posted values can have multiple values, so is not suitable.
20+ No because TextUnmarshaler only accepts []byte but posted values can have
21+ multiple values, so is not suitable.
1922
2023Supported Types
2124
@@ -33,8 +36,8 @@ out of the box supported types
3336 - slice, array
3437 - map
3538 - `custom types` can override any of the above types
36- - many other types may be supported inherently (i.e. bson.ObjectId is type ObjectId string,
37- which will get populated by the string type
39+ - many other types may be supported inherently (i.e. bson.ObjectId is
40+ type ObjectId string, which will get populated by the string type
3841
3942 **NOTE**: map, struct and slice nesting are ad infinitum.
4043
0 commit comments