ToJSON: serialize boolean_columns to JSON boolean
[?]
Apr 26, 2021, 11:00 PM
4DYNWZCQTV2PFL3BFJXDY2II76B7YFKSWO7YT2L4OWXHN4UL2CHQCDependencies
- [2]
4OG3W43VGet rid of old ToJSON code path - [*]
LZVO64YGMerge in the first bits of the API work - [*]
SYLVCTT6Start api cleanup with the User model
Change contents
- edit in src/lib/Hydra/Component/ToJSON.pm at line 8
use JSON; - edit in src/lib/Hydra/Component/ToJSON.pm at line 21[5.217][2.161]
foreach my $column (@{$hint->{boolean_columns}}) {$json{$column} = $self->get_column($column) ? JSON::true : JSON::false;}