Sha256: 853b203d351243adc10d9a2542f56717de2794b7c960c33bfe5a828490f7fa2b
Contents?: true
Size: 243 Bytes
Versions: 4
Compression:
Stored size: 243 Bytes
Contents
module Sojourn module Serializers class IndifferentJSON def self.load(string) JSON.parse(string || '{}').with_indifferent_access end def self.dump(hash) (hash || {}).to_json end end end end
Version data entries
4 entries across 4 versions & 1 rubygems