nice! as side note you can force JSON::PP to always order keys alphabetically using canonical or giving it a custom order function: JSON::PP#sort_by thus avoiding monkey patching.
L*
In reply to Re^3: Preserve the order in JSON
by Discipulus
in thread Preserve the order in JSON
by user786
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |