If jq is installed, you can run an arbitrary jq filter over your property list and get the result back in either JSON or Plist or XML.
Usage: mulle-pq [options] ...
Convert between JSON, Plist, XML format.
Any arguments after the known options are interpreted to be jq arguments.
jq will be invoked and given the parsed input. The result of the jq
command then will undergo output conversion.
Options:
--in <value> : input file (stdin)
--in-format <value> : input format one of json,xml,plist (auto)
--no-jq : don't run input plist through jq
--no-lf : don't append a linefeed to the output
--out <value> : output file (stdout)
--out-format <value> : output format one of json,xml,(plist)
| Requirement | Release Version | Description |
|---|---|---|
| MulleFoundation | 💍 Umbrella library for the MulleFoundation | |
| MulleObjCExpatFoundation | 👴🏼 XML parser based on MulleObjCStandardFoundation and libexpat | |
| MulleObjCJSMNFoundation | 🌼 JSON support for mulle-objc | |
| MulleFoundation-startup |
Use mulle-sde to add mulle-pq to your project:
mulle-sde add github:MulleFoundation/mulle-pqUse mulle-sde to build and install mulle-pq and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/MulleFoundation/mulle-pq/archive/latest.tar.gzInstall the requirements:
| Requirements | Description |
|---|---|
| MulleFoundation | 💍 Umbrella library for the MulleFoundation |
| MulleFoundation-startup | |
| MulleObjCExpatFoundation | 👴🏼 XML parser based on MulleObjCStandardFoundation and libexpat |
| MulleObjCJSMNFoundation | 🌼 JSON support for mulle-objc |
Install mulle-pq into /usr/local with cmake:
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_PREFIX_PATH=/usr/local \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config ReleaseNat! for Mulle kybernetiK