{"action":"created","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1357","repository_url":"https://api.github.com/repos/FasterXML/jackson-databind","labels_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1357/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1357/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1357/events","html_url":"https://github.com/FasterXML/jackson-databind/pull/1357","id":174393107,"number":1357,"title":"Make JsonValueFormat a class not an enum.","user":{"login":"tapina","id":3705253,"avatar_url":"https://avatars.githubusercontent.com/u/3705253?v=3","gravatar_id":"","url":"https://api.github.com/users/tapina","html_url":"https://github.com/tapina","followers_url":"https://api.github.com/users/tapina/followers","following_url":"https://api.github.com/users/tapina/following{/other_user}","gists_url":"https://api.github.com/users/tapina/gists{/gist_id}","starred_url":"https://api.github.com/users/tapina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapina/subscriptions","organizations_url":"https://api.github.com/users/tapina/orgs","repos_url":"https://api.github.com/users/tapina/repos","events_url":"https://api.github.com/users/tapina/events{/privacy}","received_events_url":"https://api.github.com/users/tapina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-31T22:20:23Z","updated_at":"2016-08-31T22:57:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/pulls/1357","html_url":"https://github.com/FasterXML/jackson-databind/pull/1357","diff_url":"https://github.com/FasterXML/jackson-databind/pull/1357.diff","patch_url":"https://github.com/FasterXML/jackson-databind/pull/1357.patch"},"body":"So the values can be extended as per the JSON schema spec where a custom format is required.\r\n\r\nYou can now use:\r\n`\r\nValueTypeSchema.setFormat(JsonValueFormat.valueOf(\"myCustomFormat\"))\r\n`\r\n(or `new JsonValueFormat(\"blah\")` if you don't care about enum-style object equality)\r\n\r\nBuild-time compatible with the previous version."},"comment":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/comments/243927810","html_url":"https://github.com/FasterXML/jackson-databind/pull/1357#issuecomment-243927810","issue_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/1357","id":243927810,"user":{"login":"cowtowncoder","id":55065,"avatar_url":"https://avatars.githubusercontent.com/u/55065?v=3","gravatar_id":"","url":"https://api.github.com/users/cowtowncoder","html_url":"https://github.com/cowtowncoder","followers_url":"https://api.github.com/users/cowtowncoder/followers","following_url":"https://api.github.com/users/cowtowncoder/following{/other_user}","gists_url":"https://api.github.com/users/cowtowncoder/gists{/gist_id}","starred_url":"https://api.github.com/users/cowtowncoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowtowncoder/subscriptions","organizations_url":"https://api.github.com/users/cowtowncoder/orgs","repos_url":"https://api.github.com/users/cowtowncoder/repos","events_url":"https://api.github.com/users/cowtowncoder/events{/privacy}","received_events_url":"https://api.github.com/users/cowtowncoder/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T22:57:14Z","updated_at":"2016-08-31T22:57:14Z","body":"@tapina I wish I had a good answer here but I don't... but your suggestion sounds like a reasonable approach to consider.\r\n\r\nIt is unfortunate that this extension point has this limitation; it was a contribution, rewrite to allow moving JSON Schema generation out of core databind (although old system is still included too, even if deprecated...). But I didn't pay enough attention to this part where JSON Schema limitation is obvious; shouldn't be.\r\n"}}
{"actor":{"display_login":"cowtowncoder"}}