Skip to content

Error in documentation about json loading #184

@dhaeckel

Description

@dhaeckel

The documentation states that you can load the rules via json_decode(file_get_contents('rules.json')); Actually you have to pass the $assoc parameter for json_decode as true, so it shold be
json_decode(file_get_contents('rules.json'), 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