Created attachment 157112 [details] shell archive jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. WWW: https://github.com/kjdev/php-ext-jq
Created attachment 157113 [details] test
There are 2 patches. - Build with jq shared library instead jq bundle. - The version.h header doesn't ship with jq installation by default, Therefore I just make one.
A commit references this bug: Author: pi Date: Sun Nov 1 09:13:15 UTC 2015 New revision: 400601 URL: https://svnweb.freebsd.org/changeset/ports/400601 Log: jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. WWW: https://github.com/kjdev/php-ext-jq PR: 200438 Submitted by: Gasol Wu <gasol.wu@gmail.com> Changes: head/devel/Makefile head/devel/php-jq/ head/devel/php-jq/Makefile head/devel/php-jq/distinfo head/devel/php-jq/files/ head/devel/php-jq/files/patch-config.m4 head/devel/php-jq/files/patch-jq.c head/devel/php-jq/pkg-descr
Test-Builds are all fine, committed, thanks!