Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DJSON CPAN distribution.

Report information
The Basics
Id: 79628
Status: resolved
Priority: 0/
Queue: DJSON

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: more dwimmery on unquoted hash keys please
use DJSON qw(decode_djson); use Test::More tests => 1; my $result = decode_djson(do{$/=<DATA>}); is_deeply($result, +{ qw/foo bar: baz quux:/ }) or note explain $result; __DATA__ { foo: bar: baz: quux: }
DJSON seems to have been superseded by JSONY, which does have this feature, so self-closing.