.dataprinter

Tue, 23 Feb 2016 01:56:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 23 Feb 2016 01:56:46 -0500
changeset 261
6254589972e6
parent 260
52b31c74fe37
child 262
85dcaca3a0b0
permissions
-rw-r--r--

update only

260
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 {
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 filters => {
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 'JSON::PP::Boolean' => sub { ${$_[0]} ? 'true': 'false' },
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 'Mojo::JSON::_Bool' => sub { ${$_[0]} ? 'true': 'false' },
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 'URI::http' => sub { "URI<$_[0]>" },
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 'URI::https' => sub { "URI<$_[0]>" },
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 }
52b31c74fe37 Add some helpful DDP filters
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 };

mercurial