Skip to content

json_decode stdclass compatibility #32

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
jsonPath(json_decode('{ "data1": "value"}'), "$.data1");

What is the expected output? What do you see instead?
expected: array("value")
returned: false

What version of the product are you using? On what operating system?
0.8.1

Please provide any additional information below.
jsonPath(json_decode('{ "data1": "value"}', true), "$.data1"); works fine 
because the json is decoded as an array.
it seems like json decoded in object (stdclass) doesn't work.

Original issue reported on code.google.com by Charl.Th...@gmail.com on 17 Feb 2015 at 12:23

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions