Sha256: feff4de6e356e5b60140720cba19c48e8e04437f0bdad31c6756667c9dbddf9e
Contents?: true
Size: 332 Bytes
Versions: 19
Compression:
Stored size: 332 Bytes
Contents
require 'active_support/json' module Draftsman module Serializers module Json extend self # makes all instance methods become module methods as well def load(string) ActiveSupport::JSON.decode string end def dump(object) ActiveSupport::JSON.encode object end end end end
Version data entries
19 entries across 19 versions & 1 rubygems