NAME
DBIx::QuickORM::Type::JSON - JSON inflate/deflate type.
DESCRIPTION
A DBIx::QuickORM::Role::Type implementation that stores Perl data structures as JSON. Inflation decodes the stored JSON to a Perl reference; deflation encodes a reference back to JSON. Comparison is done on a canonical encoding so structurally identical values compare equal.
The affinity is string. qorm_sql_type prefers a native jsonb/ json column type and falls back to longtext/text.
When registered for autofill (qorm_register_type) this type claims the json/jsonb SQL types and any string column whose name contains "json".
SOURCE
The source code repository for DBIx::QuickORM can be found at https://github.com/exodist/DBIx-QuickORM.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.