module Property::Serialization::JSON::Encoder
Public Instance Methods
decode_properties(string)
click to toggle source
Decode JSON
encoded properties
# File lib/property/serialization/json.rb, line 54 def decode_properties(string) ::JSON.parse(string) end
encode_properties(properties)
click to toggle source
Encode properties with JSON
# File lib/property/serialization/json.rb, line 49 def encode_properties(properties) ::JSON.dump(properties) end