-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird behaviour #41
Comments
So, in the first example, your first statement is parsing the JSON, but not storing the result anywhere, and then the second statement is checking the request body (pulled from In your second example, the first statement creates a Parser object, but then your second and third statements do the same things as the two statements in your first example. Your third example shows what's expected because you're actually saving the parsed output in the second statement.
But, since you're using Laravel 5, you should be able to use its |
OK. Thanks for your answer and your time. Maybe some more docs would help newcomers understand the package a bit more. Thanks for your work. Xavier |
Hello,
I've been playing around with this package but can't make it behave the way I'm expecting to.
I'm using Laravel 5.4 and PHP 7.1 (this setup could be the reason of my problem...). I'm using the very simple code example :
This returns false....
False again...
Here the output is what I'm expecting. Tried ->all(), ->get(), ... Even tried mask but the output is always empty.
I'm confused. Any idea ?
Thanks,
Xavier
The text was updated successfully, but these errors were encountered: