Re:A high-performance, zero allocation, dynamic JSON Threat ...
by nitwit005 on Thursday September 19, 2019 @12:38AM
(#21013343)
It doesn't allocate itself, but it effectively forces a big allocation by only supporting []byte inputs. Typically people directly pass the request body to json.NewDecoder, as it implements the Reader interface.
[ Parent
| on HN ]
Re:A high-performance, zero allocation, dynamic JSON Threat ...
by ankuranand on Thursday September 19, 2019 @12:55AM
(#21013406)
There is `func (v Verify) Verify(reader io.Reader) (bool, error)` function in the api, which will support the streaming part. Currently it's WIP.