{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/dojson/pulls/61","id":54348598,"html_url":"https://github.com/inveniosoftware/dojson/pull/61","diff_url":"https://github.com/inveniosoftware/dojson/pull/61.diff","patch_url":"https://github.com/inveniosoftware/dojson/pull/61.patch","issue_url":"https://api.github.com/repos/inveniosoftware/dojson/issues/61","number":61,"state":"closed","locked":false,"title":"overdo: addition of liberal mode for datafield","user":{"login":"greut","id":1388,"avatar_url":"https://avatars.githubusercontent.com/u/1388?v=3","gravatar_id":"","url":"https://api.github.com/users/greut","html_url":"https://github.com/greut","followers_url":"https://api.github.com/users/greut/followers","following_url":"https://api.github.com/users/greut/following{/other_user}","gists_url":"https://api.github.com/users/greut/gists{/gist_id}","starred_url":"https://api.github.com/users/greut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greut/subscriptions","organizations_url":"https://api.github.com/users/greut/orgs","repos_url":"https://api.github.com/users/greut/repos","events_url":"https://api.github.com/users/greut/events{/privacy}","received_events_url":"https://api.github.com/users/greut/received_events","type":"User","site_admin":false},"body":"* NEW `liberal` mode keep any unknown fields as is. Eg, a `999__` code won't be translated into a text value and use the numeric format.\r\n\r\n## Example\r\n\r\nMARC XML document with unknown `datafield` tag.\r\n\r\n```xml\r\n<record>\r\n  <datafield tag=\"100\" ind1=\" \" ind2=\" \">\r\n    <subfield code=\"a\">Donges, Jonathan F</subfield>\r\n  </datafield>\r\n  <datafield tag=\"999\" ind1=\" \" ind2=\" \">\r\n    <subfield code=\"a\">I'm crazy field!</subfield>\r\n  </datafield>\r\n</record>\r\n```\r\n\r\nWhat's known is translated and the rest is kept as _is_:\r\n\r\n```json\r\n{\r\n  \"main_entry_personal_name\": {\r\n    \"personal_name\": \"Donges, Jonathan F\"\r\n  },\r\n  \"999__\": {\r\n    \"a\": \"I'm crazy field!\"\r\n  }\r\n}\r\n```\r\n\r\nRemaining problems, unknown subfields, e.g. `RECORD_AUDUB`, are still lost. \r\n\r\nrelated: #26\r\nping: @Kennethhole @audub ","created_at":"2015-12-22T09:24:34Z","updated_at":"2016-01-18T14:25:55Z","closed_at":"2016-01-18T14:25:55Z","merged_at":"2016-01-18T14:25:55Z","merge_commit_sha":"b423da09c10219b60fd26c486d233bc7afa1a95e","assignee":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inveniosoftware/dojson/milestones/13","html_url":"https://github.com/inveniosoftware/dojson/milestones/v1.1.0","labels_url":"https://api.github.com/repos/inveniosoftware/dojson/milestones/13/labels","id":1512469,"number":13,"title":"v1.1.0","description":null,"creator":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-01-18T12:32:54Z","updated_at":"2016-01-18T14:25:55Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/dojson/pulls/61/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/dojson/pulls/61/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/dojson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/dojson/issues/61/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/dojson/statuses/dbc6c71d50de190473a129be7b655d89d1c3bcc8","head":{"label":"greut:liberal","ref":"liberal","sha":"dbc6c71d50de190473a129be7b655d89d1c3bcc8","user":{"login":"greut","id":1388,"avatar_url":"https://avatars.githubusercontent.com/u/1388?v=3","gravatar_id":"","url":"https://api.github.com/users/greut","html_url":"https://github.com/greut","followers_url":"https://api.github.com/users/greut/followers","following_url":"https://api.github.com/users/greut/following{/other_user}","gists_url":"https://api.github.com/users/greut/gists{/gist_id}","starred_url":"https://api.github.com/users/greut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greut/subscriptions","organizations_url":"https://api.github.com/users/greut/orgs","repos_url":"https://api.github.com/users/greut/repos","events_url":"https://api.github.com/users/greut/events{/privacy}","received_events_url":"https://api.github.com/users/greut/received_events","type":"User","site_admin":false},"repo":{"id":46846409,"name":"dojson","full_name":"greut/dojson","owner":{"login":"greut","id":1388,"avatar_url":"https://avatars.githubusercontent.com/u/1388?v=3","gravatar_id":"","url":"https://api.github.com/users/greut","html_url":"https://github.com/greut","followers_url":"https://api.github.com/users/greut/followers","following_url":"https://api.github.com/users/greut/following{/other_user}","gists_url":"https://api.github.com/users/greut/gists{/gist_id}","starred_url":"https://api.github.com/users/greut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greut/subscriptions","organizations_url":"https://api.github.com/users/greut/orgs","repos_url":"https://api.github.com/users/greut/repos","events_url":"https://api.github.com/users/greut/events{/privacy}","received_events_url":"https://api.github.com/users/greut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greut/dojson","description":"Simple pythonic JSON to JSON converter.","fork":true,"url":"https://api.github.com/repos/greut/dojson","forks_url":"https://api.github.com/repos/greut/dojson/forks","keys_url":"https://api.github.com/repos/greut/dojson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greut/dojson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greut/dojson/teams","hooks_url":"https://api.github.com/repos/greut/dojson/hooks","issue_events_url":"https://api.github.com/repos/greut/dojson/issues/events{/number}","events_url":"https://api.github.com/repos/greut/dojson/events","assignees_url":"https://api.github.com/repos/greut/dojson/assignees{/user}","branches_url":"https://api.github.com/repos/greut/dojson/branches{/branch}","tags_url":"https://api.github.com/repos/greut/dojson/tags","blobs_url":"https://api.github.com/repos/greut/dojson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greut/dojson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greut/dojson/git/refs{/sha}","trees_url":"https://api.github.com/repos/greut/dojson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greut/dojson/statuses/{sha}","languages_url":"https://api.github.com/repos/greut/dojson/languages","stargazers_url":"https://api.github.com/repos/greut/dojson/stargazers","contributors_url":"https://api.github.com/repos/greut/dojson/contributors","subscribers_url":"https://api.github.com/repos/greut/dojson/subscribers","subscription_url":"https://api.github.com/repos/greut/dojson/subscription","commits_url":"https://api.github.com/repos/greut/dojson/commits{/sha}","git_commits_url":"https://api.github.com/repos/greut/dojson/git/commits{/sha}","comments_url":"https://api.github.com/repos/greut/dojson/comments{/number}","issue_comment_url":"https://api.github.com/repos/greut/dojson/issues/comments{/number}","contents_url":"https://api.github.com/repos/greut/dojson/contents/{+path}","compare_url":"https://api.github.com/repos/greut/dojson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greut/dojson/merges","archive_url":"https://api.github.com/repos/greut/dojson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greut/dojson/downloads","issues_url":"https://api.github.com/repos/greut/dojson/issues{/number}","pulls_url":"https://api.github.com/repos/greut/dojson/pulls{/number}","milestones_url":"https://api.github.com/repos/greut/dojson/milestones{/number}","notifications_url":"https://api.github.com/repos/greut/dojson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greut/dojson/labels{/name}","releases_url":"https://api.github.com/repos/greut/dojson/releases{/id}","created_at":"2015-11-25T08:00:06Z","updated_at":"2016-01-18T09:01:03Z","pushed_at":"2016-01-18T13:23:00Z","git_url":"git://github.com/greut/dojson.git","ssh_url":"git@github.com:greut/dojson.git","clone_url":"https://github.com/greut/dojson.git","svn_url":"https://github.com/greut/dojson","homepage":null,"size":333,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inveniosoftware:master","ref":"master","sha":"f680cc2cfc697dc3ba0c2ad92a51a5d6105dfd30","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":37219287,"name":"dojson","full_name":"inveniosoftware/dojson","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/dojson","description":"Simple pythonic JSON to JSON converter.","fork":false,"url":"https://api.github.com/repos/inveniosoftware/dojson","forks_url":"https://api.github.com/repos/inveniosoftware/dojson/forks","keys_url":"https://api.github.com/repos/inveniosoftware/dojson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/dojson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/dojson/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/dojson/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/dojson/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/dojson/events","assignees_url":"https://api.github.com/repos/inveniosoftware/dojson/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/dojson/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/dojson/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/dojson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/dojson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/dojson/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/dojson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/dojson/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/dojson/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/dojson/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/dojson/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/dojson/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/dojson/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/dojson/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/dojson/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/dojson/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/dojson/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/dojson/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/dojson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/dojson/merges","archive_url":"https://api.github.com/repos/inveniosoftware/dojson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/dojson/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/dojson/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/dojson/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/dojson/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/dojson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/dojson/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/dojson/releases{/id}","created_at":"2015-06-10T19:54:15Z","updated_at":"2016-01-14T16:11:20Z","pushed_at":"2016-01-18T14:25:55Z","git_url":"git://github.com/inveniosoftware/dojson.git","ssh_url":"git@github.com:inveniosoftware/dojson.git","clone_url":"https://github.com/inveniosoftware/dojson.git","svn_url":"https://github.com/inveniosoftware/dojson","homepage":null,"size":466,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":11,"forks":12,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/dojson/pulls/61"},"html":{"href":"https://github.com/inveniosoftware/dojson/pull/61"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/dojson/issues/61"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/dojson/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/dojson/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/dojson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/dojson/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/dojson/statuses/dbc6c71d50de190473a129be7b655d89d1c3bcc8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"comments":8,"review_comments":4,"commits":1,"additions":123,"deletions":44,"changed_files":3}}