Class: Synapse::Serialization::JsonToObjectConverter
- Inherits:
-
Object
- Object
- Synapse::Serialization::JsonToObjectConverter
- Includes:
- Converter
- Defined in:
- lib/synapse/serialization/converter/json.rb
Overview
Converter that converts a JSON string into a Ruby data structure
Instance Method Summary collapse
Methods included from Converter
Instance Method Details
#convert_content(original) ⇒ Object
13 14 15 |
# File 'lib/synapse/serialization/converter/json.rb', line 13 def convert_content(original) JSON.parse original, @options end |