multi_json renamed its public API in 1.21.0, deprecating the old methods. ref: https://github.com/sferik/multi_json/blob/v1.21.0/CHANGELOG.md At present, [lib/representable/json.rb](https://github.com/trailblazer/representable/blob/master/lib/representable/json.rb#L35-L43) calls the legacy multi_json API, which now emits a deprecation warning (will be removed in multi_json 2.0.0): ``` def from_json(data, *args) data = MultiJson.load(data) # -> MultiJSON.parse from_hash(data, *args) end def to_json(*args) MultiJson.dump to_hash(*args) # -> MultiJSON.generate end ```
multi_json renamed its public API in 1.21.0, deprecating the old methods.
ref: https://github.com/sferik/multi_json/blob/v1.21.0/CHANGELOG.md
At present, lib/representable/json.rb calls the legacy multi_json API, which now emits a deprecation warning (will be removed in multi_json 2.0.0):