Skip to content

Cannot get request JSON as an object. #38

Description

@JBHUTT09

JSON data infamously has an "encoding asymmetry" issue with PHP as whether a PHP array is encoded as a JSON object or JSON array is entirely determined by the keys of the PHP array. There should be a way to tell Leaf to decode JSON into a PHP object instead of the default behavior or decoding into an array.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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