{"action":"created","issue":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/716","repository_url":"https://api.github.com/repos/htacg/tidy-html5","labels_url":"https://api.github.com/repos/htacg/tidy-html5/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/htacg/tidy-html5/issues/716/comments","events_url":"https://api.github.com/repos/htacg/tidy-html5/issues/716/events","html_url":"https://github.com/htacg/tidy-html5/issues/716","id":313842277,"number":716,"title":"JSON output","user":{"login":"MaxLanar","id":1235069,"avatar_url":"https://avatars3.githubusercontent.com/u/1235069?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxLanar","html_url":"https://github.com/MaxLanar","followers_url":"https://api.github.com/users/MaxLanar/followers","following_url":"https://api.github.com/users/MaxLanar/following{/other_user}","gists_url":"https://api.github.com/users/MaxLanar/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxLanar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxLanar/subscriptions","organizations_url":"https://api.github.com/users/MaxLanar/orgs","repos_url":"https://api.github.com/users/MaxLanar/repos","events_url":"https://api.github.com/users/MaxLanar/events{/privacy}","received_events_url":"https://api.github.com/users/MaxLanar/received_events","type":"User","site_admin":false},"labels":[{"id":8461214,"url":"https://api.github.com/repos/htacg/tidy-html5/labels/Feature%20Request","name":"Feature Request","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/htacg/tidy-html5/milestones/10","html_url":"https://github.com/htacg/tidy-html5/milestone/10","labels_url":"https://api.github.com/repos/htacg/tidy-html5/milestones/10/labels","id":2781206,"number":10,"title":"5.7","description":"After the 5.6 release...","creator":{"login":"geoffmcl","id":1333435,"avatar_url":"https://avatars3.githubusercontent.com/u/1333435?v=4","gravatar_id":"","url":"https://api.github.com/users/geoffmcl","html_url":"https://github.com/geoffmcl","followers_url":"https://api.github.com/users/geoffmcl/followers","following_url":"https://api.github.com/users/geoffmcl/following{/other_user}","gists_url":"https://api.github.com/users/geoffmcl/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffmcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffmcl/subscriptions","organizations_url":"https://api.github.com/users/geoffmcl/orgs","repos_url":"https://api.github.com/users/geoffmcl/repos","events_url":"https://api.github.com/users/geoffmcl/events{/privacy}","received_events_url":"https://api.github.com/users/geoffmcl/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":22,"state":"open","created_at":"2017-09-20T18:32:39Z","updated_at":"2018-04-24T17:13:57Z","due_on":"2018-05-24T07:00:00Z","closed_at":null},"comments":6,"created_at":"2018-04-12T18:40:06Z","updated_at":"2018-04-25T18:52:35Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nflycheck, a on the fly syntax checking solution for GNU Emacs ( http://www.flycheck.org ) has an issue with tidy's output in localized environments. It can't run properly except in an English setup, because localized error messages also localize the diagnostic type (e.g. \"Warning\" becomes \"Avertissement\" in French), which make them unparseable by Flycheck.\r\n\r\nIt has been figured out, [here (flycheck's issue 1376)](https://github.com/flycheck/flycheck/issues/1376), that the best way to resolve this, both for flycheck and tidy, would be for tidy command line client to be able to produce JSON output.\r\n\r\nSo here is the feature request, please provide JSON output to tidy command line client.\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/comments/384395715","html_url":"https://github.com/htacg/tidy-html5/issues/716#issuecomment-384395715","issue_url":"https://api.github.com/repos/htacg/tidy-html5/issues/716","id":384395715,"user":{"login":"geoffmcl","id":1333435,"avatar_url":"https://avatars3.githubusercontent.com/u/1333435?v=4","gravatar_id":"","url":"https://api.github.com/users/geoffmcl","html_url":"https://github.com/geoffmcl","followers_url":"https://api.github.com/users/geoffmcl/followers","following_url":"https://api.github.com/users/geoffmcl/following{/other_user}","gists_url":"https://api.github.com/users/geoffmcl/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffmcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffmcl/subscriptions","organizations_url":"https://api.github.com/users/geoffmcl/orgs","repos_url":"https://api.github.com/users/geoffmcl/repos","events_url":"https://api.github.com/users/geoffmcl/events{/privacy}","received_events_url":"https://api.github.com/users/geoffmcl/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T18:52:35Z","updated_at":"2018-04-25T18:52:35Z","author_association":"CONTRIBUTOR","body":"Ok, my [tidy-json](https://github.com/geoffmcl/tidy-test/blob/master/src/tidy-json.cxx) app is getting stable and mature...\r\n\r\nHave now added **everthing** available from the `TidyMessageCallback` API - sample -\r\n\r\n[msg-fr2.json.txt](https://github.com/htacg/tidy-html5/files/1948426/msg-fr2.json.txt)\r\n\r\nOne of the last things is a sort of `verbosity` option, or more an `information selection` option, since it is probable that a user may **not** need all this information in `json`... need to think about this...\r\n\r\nAnd as noted in issue #719, have solved one of the problems, the `messageIsMuted` value, there is still the problem of `mixed` languages in certain messages to be solved...\r\n\r\nOne interesting thing about the output of the `nodes` in json is that there is not an API to get whether a node is `implicit`, that is **added by tidy**, and **not** in the original input html... will try to find the time to add a `Feature Request` for this...\r\n\r\nLook forward to others building and testing this, and further feedback... thanks...\r\n"}}
{"actor":{"display_login":"geoffmcl"}}