From: Rafael Kitover Date: Tue, 26 Jan 2010 13:05:53 +0000 (+0000) Subject: prefer JSON::DWIW for barekey support X-Git-Tag: v0.08119~9^2~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbde5b153378514a6ccf833eb41199c87750e996;p=dbsrgits%2FDBIx-Class.git prefer JSON::DWIW for barekey support --- diff --git a/lib/DBIx/Class/Admin.pm b/lib/DBIx/Class/Admin.pm index f3be3c9..bd7cec6 100644 --- a/lib/DBIx/Class/Admin.pm +++ b/lib/DBIx/Class/Admin.pm @@ -30,10 +30,9 @@ use DBIx::Class::Admin::Types qw/DBICConnectInfo DBICHashRef/; use MooseX::Types::JSON qw(JSON); use MooseX::Types::Path::Class qw(Dir File); use Try::Tiny; -use JSON::Any; +use JSON::Any qw(DWIW XS JSON); use namespace::autoclean; - =head1 NAME DBIx::Class::Admin - Administration object for schemas @@ -48,7 +47,7 @@ DBIx::Class::Admin - Administration object for schemas $ dbicadmin --schema=MyApp::Schema --class=Employee \ --connect='["dbi:SQLite:my.db", "", ""]' \ - --op=update --set='{"name":"New_Employee"}' + --op=update --set='{ "name": "New_Employee" }' use DBIx::Class::Admin; @@ -89,6 +88,8 @@ L L +(L preferred for barekey support) + L L