Re: [PECL-DEV] JSONPath extension

[email protected] Fri, 23 Jul 2021 15:18:34 +0300
Newsgroups php.pecl.dev
Message-ID <[email protected]>
Hi Benjamin,


> Does the data structure need to be a full array or can it also work on
> json_decode with array argument set to false?
> 
> The name JSONPath obviously refers to the expression as second argument,
> but its slightly confusing that you put an array into it not a json string.
> But that makes it more powerful :)

Thank you for your feedback, much appreciated! We had a discussion about 
the data structure and decided to keep things as-is for now, but 
possibly adding support for more data source type options (object, JSON 
string, filepath, file resource, ...) in the future.


> As for the classname JSONPath, you could look into namespacing it as per
> the rules described in
> https://wiki.php.net/rfc/namespaces_in_bundled_extensions

We've now moved the symbols to the JsonPath namespace, and changed the 
project license to PHP License 3.01.

I suppose the next step is to submit the form for a PECL account request?

Best regards,
Viktor