{"action":"closed","issue":{"url":"https://api.github.com/repos/mjambon/atd/issues/80","repository_url":"https://api.github.com/repos/mjambon/atd","labels_url":"https://api.github.com/repos/mjambon/atd/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/mjambon/atd/issues/80/comments","events_url":"https://api.github.com/repos/mjambon/atd/issues/80/events","html_url":"https://github.com/mjambon/atd/issues/80","id":326779697,"number":80,"title":"How can I get the ocaml->field_prefix as part of a field name in the serialized json?","user":{"login":"mjambon","id":343265,"avatar_url":"https://avatars3.githubusercontent.com/u/343265?v=4","gravatar_id":"","url":"https://api.github.com/users/mjambon","html_url":"https://github.com/mjambon","followers_url":"https://api.github.com/users/mjambon/followers","following_url":"https://api.github.com/users/mjambon/following{/other_user}","gists_url":"https://api.github.com/users/mjambon/gists{/gist_id}","starred_url":"https://api.github.com/users/mjambon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjambon/subscriptions","organizations_url":"https://api.github.com/users/mjambon/orgs","repos_url":"https://api.github.com/users/mjambon/repos","events_url":"https://api.github.com/users/mjambon/events{/privacy}","received_events_url":"https://api.github.com/users/mjambon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-27T01:29:55Z","updated_at":"2018-05-27T02:08:04Z","closed_at":"2018-05-27T02:08:04Z","author_association":"OWNER","body":"_From @martinoluca on September 14, 2017 12:52_\n\nIn other words, if I define a record like the following:\r\n```\r\ntype my_record = {\r\n    field_one: string;\r\n} <ocaml field_prefix=\"mr_\">\r\n```\r\n\r\nIs it possible to have a json-serializer that emits the fields in the following form?\r\n```\r\n{\"mr_field_one\": \"value\"}\r\n```\r\n\r\nThanks in advance.\n\n_Copied from original issue: mjambon/atdgen#72_"}}
{"actor":{"display_login":"mjambon"}}