Skip to content

json_decode as array instead of object #5

@curtisgibby

Description

@curtisgibby

This is a great utility class! I think it would be nice to have configuration option to do all of the json_decode calls with the $assoc variable as true, to get back an associative array instead of an object. You could have a variable in the constructor that would be set to false by default, but could be passed in as true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions