> 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 
> "http://127.0.10.251:7557/devices/?query=%7B%22_id%22%3A%22000F5D-Tundra-000F9453E910%22%7D
>  
> <http://127.0.10.251:7557/devices/?query=%7B%22_id%22%3A%22000F5D-Tundra-000F9453E910%22%7D>"
>  
> 
> 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.

Joe

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to