Subject: | Support canonical output for JSON serializer |
Date: | Fri, 20 May 2016 10:31:18 +0200 |
To: | <bug-Data-Serializer [...] rt.cpan.org> |
From: | Anders Ossowicki <aowi [...] novozymes.com> |
The JSON serializer has an option to enable canonical output (so all
keys are sorted alphabetically). It's useful as a temporary workaround
for anyone who relied on perl's hashkeys having a consistent ordering.
I have attached a patch that accepts options => { canonical => 1 } and
uses it in the JSON serializer.
--
Anders Ossowicki
Novozymes
Message body is not shown because sender requested not to inline it.