>. The default serialization method is L<JSON>,
though one can specify any serialization format you want. L<YAML> and L<Storable> are
viable alternatives.
JSON was chosen as the default serialization
}
my $session_data = $session_object->$data_column;
# No way to check that it's valid JSON other than trying to deserialize it
my $session = try {
$self->_deserialize($session_
Dancer function, not from JSON.pm
return to_json({%$self}, { pretty => 0, convert_blessed => 1 });
}
# Default Deserialize method
sub _deserialize {
my ($self, $json) = @_;
my $settings