Re: [PHP-DEV] A streaming JSON parser in C

2020-04-29 Thread Aran Reeks
it would be amazing to see something like this introduced into PHP natively in the future. On Wed, 29 Apr 2020, 21:52 Dan Ackroyd, wrote: > On Wed, 29 Apr 2020 at 21:02, Henrik Skov wrote: > > > > Hi internals ! > > > > Recently someone enquired about adding a streaming JSON parser to PHP. > >

Re: [PHP-DEV] A streaming JSON parser in C

2020-04-29 Thread Dan Ackroyd
On Wed, 29 Apr 2020 at 21:02, Henrik Skov 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

[PHP-DEV] A streaming JSON parser in C

2020-04-29 Thread Henrik Skov
Hi internals ! Recently someone enquired about adding a streaming JSON parser to PHP. Therefore, I just wanted to point your attention to a streaming JSON parser implementation in C that might be useful: https://github.com/mnunberg/jsonsl Kind regards, Henrik Skov -- PHP Internals - PHP Run