<p dir="ltr">You really need custom sort blocks? Oh my, lot of work...  :) let's see <br></p>
<p dir="ltr">On Jan 15, 2016 00:07, "Michael R. Davis" <<a href="mailto:mrdvt92@yahoo.com">mrdvt92@yahoo.com</a>> wrote:<br>
><br>
> Reini,<br>
> The Cpanel::JSON::XS docs say sort_by "currently only (un)sets the canonical option, and ignores custom sort blocks."  That to me does not mean operational.  But, are the docs wrong?<br>
>  <br>
> You are right, all the JSON incompatibilities have really screwed up Perl as being the go to tool for JSON.  This service that I have to write against REALLY sucks that it requires JSON objects to be sorted.<br>
> Mike<br>
>  <br>
><br>
><br>
> ________________________________<br>
> From: Reini Urban <<a href="mailto:reini.urban@gmail.com">reini.urban@gmail.com</a>><br>
>  <br>
> Everyone has those problems, that's why you should use Cpanel::JSON::XS instead<br>
> On Jan 14, 2016 22:36, "Michael R. Davis via Houston" <<a href="mailto:houston@pm.org">houston@pm.org</a>> wrote:<br>
>><br>
>> When encoding a JSON::XS::Boolean object with JSON::PP, I'm getting JSON "null" instead of JSON "true" or "false".  I have to use JSON::PP for it's sort_by capability in sending JSON but I use JSON::XS for performance in decoding.<br>
><br>
><br>
</p>