{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/16213","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/16213/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/16213/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/16213/events","html_url":"https://github.com/laravel/framework/issues/16213","id":186594167,"number":16213,"title":"[5.3] Updating JSON returns data as \"meta->area\" instead of meta : {area : ...}","user":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-01T17:26:49Z","updated_at":"2016-11-02T12:35:15Z","closed_at":null,"body":"- Laravel Version: 5.3.21\r\n- PHP Version: 7.0.12\r\n- Database Driver & Version: MySQL / 5.7.13-0ubuntu0.16.04.2\r\n\r\n### Description:\r\n\r\nWhen updating JSON \r\n\r\n```\r\n    public function update(Request $request, $id)\r\n    {\r\n        $program = Program::findOrFail($id)->fill([\r\n            'meta->area' => 'new value'\r\n        ]);\r\n\r\n        $program->save();\r\n\r\n        return response()->json($program);\r\n    }\r\n```\r\n\r\nReturns \r\n```\r\n    {\r\n        ....\r\n        meta : {area : 'old value'},\r\n        meta->area : \"new area\"\r\n        ....\r\n    }\r\n```\r\n\r\nIt is correctly updating just not replacing the value correctly upon return. \r\n\r\n### Steps To Reproduce:\r\n\r\n```\r\n    public function update(Request $request, $id)\r\n    {\r\n        $program = Program::findOrFail($id)->fill([\r\n            'meta->area' => 'new value'\r\n        ]);\r\n\r\n        $program->save();\r\n\r\n        return response()->json($program);\r\n    }\r\n```\r\n\r\nLook at the json value returning .\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/257851949","html_url":"https://github.com/laravel/framework/issues/16213#issuecomment-257851949","issue_url":"https://api.github.com/repos/laravel/framework/issues/16213","id":257851949,"user":{"login":"themsaid","id":4332182,"avatar_url":"https://avatars.githubusercontent.com/u/4332182?v=3","gravatar_id":"","url":"https://api.github.com/users/themsaid","html_url":"https://github.com/themsaid","followers_url":"https://api.github.com/users/themsaid/followers","following_url":"https://api.github.com/users/themsaid/following{/other_user}","gists_url":"https://api.github.com/users/themsaid/gists{/gist_id}","starred_url":"https://api.github.com/users/themsaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themsaid/subscriptions","organizations_url":"https://api.github.com/users/themsaid/orgs","repos_url":"https://api.github.com/users/themsaid/repos","events_url":"https://api.github.com/users/themsaid/events{/privacy}","received_events_url":"https://api.github.com/users/themsaid/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T12:35:14Z","updated_at":"2016-11-02T12:35:14Z","body":"@lukepolo working on a fix."}}
{"actor":{"display_login":"themsaid"}}