module JSONBlob
Constants
- VERSION
Attributes
json_engine[RW]
Public Class Methods
dump(data)
click to toggle source
# File lib/json_blob.rb, line 11 def self.dump(data) Base64.strict_encode64(json_engine.dump(data)) end
parse(data)
click to toggle source
# File lib/json_blob.rb, line 15 def self.parse(data) json_engine.parse(Base64.strict_decode64(data)) end