{"action":"created","issue":{"url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/214","labels_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/214/comments","events_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/214/events","html_url":"https://github.com/zofe/rapyd-laravel/issues/214","id":101885760,"number":214,"title":"Proposal : Fields for Json","user":{"login":"kandran","id":3274045,"avatar_url":"https://avatars.githubusercontent.com/u/3274045?v=3","gravatar_id":"","url":"https://api.github.com/users/kandran","html_url":"https://github.com/kandran","followers_url":"https://api.github.com/users/kandran/followers","following_url":"https://api.github.com/users/kandran/following{/other_user}","gists_url":"https://api.github.com/users/kandran/gists{/gist_id}","starred_url":"https://api.github.com/users/kandran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kandran/subscriptions","organizations_url":"https://api.github.com/users/kandran/orgs","repos_url":"https://api.github.com/users/kandran/repos","events_url":"https://api.github.com/users/kandran/events{/privacy}","received_events_url":"https://api.github.com/users/kandran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T12:52:06Z","updated_at":"2015-08-19T13:12:49Z","closed_at":null,"body":"What do you think about adding a Json kind of field. So user you edit and show json in a more friendly form.\r\n\r\nShow: a kind of array\r\nEdit : several fields witch on submit make an array corresponding to the json representation\r\n\r\n\r\nI can make the pull request if it's usefull"},"comment":{"url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/comments/132587084","html_url":"https://github.com/zofe/rapyd-laravel/issues/214#issuecomment-132587084","issue_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/214","id":132587084,"user":{"login":"zofe","id":261951,"avatar_url":"https://avatars.githubusercontent.com/u/261951?v=3","gravatar_id":"","url":"https://api.github.com/users/zofe","html_url":"https://github.com/zofe","followers_url":"https://api.github.com/users/zofe/followers","following_url":"https://api.github.com/users/zofe/following{/other_user}","gists_url":"https://api.github.com/users/zofe/gists{/gist_id}","starred_url":"https://api.github.com/users/zofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zofe/subscriptions","organizations_url":"https://api.github.com/users/zofe/orgs","repos_url":"https://api.github.com/users/zofe/repos","events_url":"https://api.github.com/users/zofe/events{/privacy}","received_events_url":"https://api.github.com/users/zofe/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T13:12:49Z","updated_at":"2015-08-19T13:12:49Z","body":"´´´\r\nEdit : several fields witch on submit make an array corresponding to the json representation\r\n´´´\r\ncheckboxgroup & tags fields works  \"also\" storing a serialized version (comma separated), this in case  you don't use a valid  many-to-many relation for the field.\r\nBasically, each \"multiple\" field is internally \"serialized/deserialized\" \r\nhttps://github.com/zofe/rapyd-laravel/blob/master/src/DataForm/Field/Field.php\r\n\r\nI'm not sure that enabling also a \"json\" serialization will be an easy stuff, but  you can start looking main Field class (and tags/checkboxgroup).\r\n\r\nI'm sure that you can simply add some config/property to let getNewValue() store a json instead  a comma separated string."}}