AddBoolNull decodes the JSON value within an object or an array to a *bool. If next key is neither null nor a JSON boolean, an InvalidUnmarshalError will be returned. If next key is null, bool will be false. If a `null` is encountered, gojay does not change the value of the pointer.
(v **bool)
| 213 | // If next key is null, bool will be false. |
| 214 | // If a `null` is encountered, gojay does not change the value of the pointer. |
| 215 | func (dec *Decoder) AddBoolNull(v **bool) error { |
| 216 | return dec.BoolNull(v) |
| 217 | } |
| 218 | |
| 219 | // Bool decodes the JSON value within an object or an array to a *bool. |
| 220 | // If next key is neither null nor a JSON boolean, an InvalidUnmarshalError will be returned. |