/usr/share/perl5/UR/Value/JSON.pm is in libur-perl 0.430-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | package UR::Value::JSON;
use strict;
use warnings;
use JSON;
class UR::Value::JSON {
is => 'UR::Value',
};
my $_JS_CODEC = new JSON->allow_nonref;
sub __serialize_id__ {
shift;
return $_JS_CODEC->canonical->encode(@_);
}
sub __deserialize_id__ {
shift;
return $_JS_CODEC->decode(@_);
}
1;
|