Skip to content

MultiJson.decode is deprecated #181

@nikolas-kosturik

Description

@nikolas-kosturik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions