Add tests for traits and coercion for JSON in the db.
This commit is contained in:
parent
ae315972ea
commit
e076ecbfe2
3 changed files with 99 additions and 3 deletions
|
|
@ -49,4 +49,3 @@ Returns a hashref of propertes that are specific to WebGUI::Forms.
|
|||
=cut
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
40
lib/WebGUI/Definition/Meta/Property/Serialize.pm
Normal file
40
lib/WebGUI/Definition/Meta/Property/Serialize.pm
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package WebGUI::Definition::Meta::Property::Serialize;
|
||||
|
||||
=head1 LEGAL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
WebGUI is Copyright 2001-2009 Plain Black Corporation.
|
||||
-------------------------------------------------------------------
|
||||
Please read the legal notices (docs/legal.txt) and the license
|
||||
(docs/license.txt) that came with this distribution before using
|
||||
this software.
|
||||
-------------------------------------------------------------------
|
||||
http://www.plainblack.com info@plainblack.com
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=cut
|
||||
|
||||
use 5.010;
|
||||
use Moose::Role;
|
||||
use namespace::autoclean;
|
||||
no warnings qw(uninitialized);
|
||||
|
||||
our $VERSION = '0.0.1';
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Definition::Meta::Property::Serialize
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Extends WebGUI::Definition::Meta::Property to provide serialization for attribute
|
||||
values. Currently just a marker, but eventually should provide per-attribute
|
||||
serialization via handles.
|
||||
|
||||
=head1 METHODS
|
||||
|
||||
The following methods are added.
|
||||
|
||||
=cut
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue