WithJSONSet returns a RequestOption that sets the body's JSON value associated with the key.
func WithJSONSet(key string, value interface{}) RequestOption| Name | Type | Description |
|---|---|---|
key* | string | |
value* | interface{} |
WithJSONSet returns a RequestOption that sets the body's JSON value associated with the key. The key accepts a string as defined by the sjson format.