Skip to content

Allow direct arrays in fromJson#16

Open
adamgoose wants to merge 2 commits intojenssegers:masterfrom
adamgoose:patch-1
Open

Allow direct arrays in fromJson#16
adamgoose wants to merge 2 commits intojenssegers:masterfrom
adamgoose:patch-1

Conversation

@adamgoose
Copy link
Copy Markdown

I have a model that gets populated with a nested array. 'collection' attribute casts don't work when the $value isn't a json string, and throws an ErrorException: json_decode() expects parameter 1 to be string, array given

adamgoose added 2 commits June 2, 2017 11:50
I have a model that gets populated with a nested array. 'collection' attribute casts don't work when the $value isn't a json string, and throws an ErrorException: `json_decode() expects parameter 1 to be string, array given`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant