Module: Candid::Internal::JSON::Serializable
- Included in:
- Types::Type
- Defined in:
- lib/candid/internal/json/serializable.rb
Instance Method Summary collapse
-
#dump(value) ⇒ String
Dumps data from its deserialized form into JSON.
-
#load(str) ⇒ Object
Loads data from JSON into its deserialized form.
Instance Method Details
#dump(value) ⇒ String
Dumps data from its deserialized form into JSON
19 20 21 |
# File 'lib/candid/internal/json/serializable.rb', line 19 def dump(value) raise NotImplementedError end |
#load(str) ⇒ Object
Loads data from JSON into its deserialized form
11 12 13 |
# File 'lib/candid/internal/json/serializable.rb', line 11 def load(str) raise NotImplementedError end |