ntpq: cruft/doc

Gary E. Miller gem at rellim.com
Mon Oct 17 18:09:49 UTC 2016


Yo Hal!

On Mon, 17 Oct 2016 03:22:42 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> Is there a good library/package to do the parsing?  Do we want to add
> another library to the list of requirements?

In PHP it is built in.  Reading or writing JSON is a one line function call.

To write, you just take a nested object and tell PHP to write it as
JSON.  To read, PHP creates a nested object to clearly and cleanly
represent the input.

And it is well documented:

http://php.net/manual/en/book.json.php

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20161017/5dc4b7d6/attachment.bin>


More information about the devel mailing list