Re: A streaming JSON parser in C
| From: | Dan Ackroyd | Date: | Wed, 29 Apr 2020 20:51:37 +0000 |
| Subject: | Re: A streaming JSON parser in C | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109935@lists.php.net to get a copy of this message | ||
On Wed, 29 Apr 2020 at 21:02, Henrik Skov <henry.wood.dk@gmail.com> wrote:
>
> Hi internals !
>
> Recently someone enquired about adding a streaming JSON parser to PHP.
There's also a JSON library that supports SIMD instructions and 'tree
walking', although that doesn't appear to be exposed in the PHP
extension available for it.
https://github.com/crazyxman/simdjson_php
https://github.com/simdjson/simdjson
My understanding is that FFI could be used to prototype a userland API
for testing different underlying JSON libraries, if anyone has the
time + energy.
cheers
Dan
Ack