# Functions
Bind binds data from *protocol.Request to obj.
BindAndValidate binds data from *protocol.Request to obj and validates them if needed.
MustRegTypeUnmarshal registers unmarshal function of type.
MustRegValidateFunc registers validator function expression.
SetErrorFactory customizes the factory of validation error.
SetLooseZeroMode if set to true, the empty string request parameter is bound to the zero value of parameter.
UseGJSONUnmarshaler uses github.com/bytedance/go-tagexpr/v2/binding/gjson as json library NOTE:
UseGJSONUnmarshaler will remain in effect once it has been called.
UseStdJSONUnmarshaler uses encoding/json as json library NOTE:
The current version uses encoding/json by default.
UseThirdPartyJSONUnmarshaler uses third-party json library for binding NOTE:
UseThirdPartyJSONUnmarshaler will remain in effect once it has been called.
Validate validates obj with "vd" tag NOTE:
obj should be a pointer.