Problem
When using jsonpath, every call emits the following deprecation warning:
MultiJson.decode is deprecated and will be removed in v2.0. Use MultiJson.load instead.
Root cause
In lib/jsonpath.rb, the process_object method calls MultiJson.decode:
MultiJson.decode has been deprecated since multi_json v1.3.0 in favour of MultiJson.load.
When multi_json v2.0 is released and removes decode, jsonpath will break entirely.
Problem
When using jsonpath, every call emits the following deprecation warning:
Root cause
In
lib/jsonpath.rb, theprocess_objectmethod callsMultiJson.decode:MultiJson.decode has been deprecated since multi_json v1.3.0 in favour of MultiJson.load.
When multi_json v2.0 is released and removes decode, jsonpath will break entirely.