Ordering of parameters.

Dr Josef Karthauser joe at truespeed.com
Wed Feb 18 05:15:08 EST 2015

> It seems that the output of the parameters from the REST API isn’t deterministic, which is a bit of a drag when it comes to comparing files to see what changed.
> I’m issuing the command:
> curl " <>" 
> and I’m getting the lists in different orders every time I run it. :(
> Is there an easy fix?

It’s ok. I’ve found an external json pretty print tool which can order the keys to produce a canonical output.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150218/c774317a/attachment.html>

More information about the Users mailing list