{"action":"created","issue":{"url":"https://api.github.com/repos/keith-turner/ecoji/issues/20","repository_url":"https://api.github.com/repos/keith-turner/ecoji","labels_url":"https://api.github.com/repos/keith-turner/ecoji/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/keith-turner/ecoji/issues/20/comments","events_url":"https://api.github.com/repos/keith-turner/ecoji/issues/20/events","html_url":"https://github.com/keith-turner/ecoji/pull/20","id":310592676,"number":20,"title":"Add a link to a Java implementation of the standard","user":{"login":"netvl","id":280456,"avatar_url":"https://avatars2.githubusercontent.com/u/280456?v=4","gravatar_id":"","url":"https://api.github.com/users/netvl","html_url":"https://github.com/netvl","followers_url":"https://api.github.com/users/netvl/followers","following_url":"https://api.github.com/users/netvl/following{/other_user}","gists_url":"https://api.github.com/users/netvl/gists{/gist_id}","starred_url":"https://api.github.com/users/netvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netvl/subscriptions","organizations_url":"https://api.github.com/users/netvl/orgs","repos_url":"https://api.github.com/users/netvl/repos","events_url":"https://api.github.com/users/netvl/events{/privacy}","received_events_url":"https://api.github.com/users/netvl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T20:03:12Z","updated_at":"2018-04-09T05:15:34Z","closed_at":"2018-04-09T05:07:22Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/keith-turner/ecoji/pulls/20","html_url":"https://github.com/keith-turner/ecoji/pull/20","diff_url":"https://github.com/keith-turner/ecoji/pull/20.diff","patch_url":"https://github.com/keith-turner/ecoji/pull/20.patch"},"body":"As I said in https://github.com/keith-turner/ecoji/pull/18, I also found a need in a JVM version of Ecoji encoding, so I went ahead and implemented a Java library. It is published to Maven Central through JCenter, so it is possible to depend on it in the usual way through Maven/Gradle/SBT."},"comment":{"url":"https://api.github.com/repos/keith-turner/ecoji/issues/comments/379634335","html_url":"https://github.com/keith-turner/ecoji/pull/20#issuecomment-379634335","issue_url":"https://api.github.com/repos/keith-turner/ecoji/issues/20","id":379634335,"user":{"login":"keith-turner","id":1268739,"avatar_url":"https://avatars0.githubusercontent.com/u/1268739?v=4","gravatar_id":"","url":"https://api.github.com/users/keith-turner","html_url":"https://github.com/keith-turner","followers_url":"https://api.github.com/users/keith-turner/followers","following_url":"https://api.github.com/users/keith-turner/following{/other_user}","gists_url":"https://api.github.com/users/keith-turner/gists{/gist_id}","starred_url":"https://api.github.com/users/keith-turner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keith-turner/subscriptions","organizations_url":"https://api.github.com/users/keith-turner/orgs","repos_url":"https://api.github.com/users/keith-turner/repos","events_url":"https://api.github.com/users/keith-turner/events{/privacy}","received_events_url":"https://api.github.com/users/keith-turner/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T05:15:33Z","updated_at":"2018-04-09T05:15:33Z","author_association":"OWNER","body":"@netvl,sorry it took me so long to get to this.  I looked at your source code, its very well written and pleasant to use.   I wrote the following to play around with ecoji-java on the command line and it worked like a charm when I ran it.\r\n\r\n```java\r\npublic class EcojiTest {\r\n  public static void main(String[] args) throws IOException {\r\n    BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out));\r\n    Ecoji.getEncoder().readFrom(System.in).writeTo(out);\r\n    out.flush();\r\n  }\r\n}\r\n```\r\n\r\nBelow is a simple test I did encoding with ecoji-java and decoding with ecoji Go.\r\n\r\n```bash\r\n$ head -c 1000000 /dev/urandom > /tmp/test.dat\r\n$ cat /tmp/test.dat | md5sum\r\n68cbef029f310d9c403c74606ced4e71  -\r\n$ cat /tmp/test.dat |  java -cp ./bin:lib/ecoji-1.0.0.jar EcojiTest | ecoji -d | md5sum\r\n68cbef029f310d9c403c74606ced4e71  -\r\n```"}}
{"actor":{"display_login":"keith-turner"}}