Skip Menu |

This queue is for tickets about the Data-Serializer CPAN distribution.

Report information
The Basics
Id: 114515
Status: new
Priority: 0/
Queue: Data-Serializer

People
Owner: Nobody in particular
Requestors: aowi [...] novozymes.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.