{"action":"created","issue":{"url":"https://api.github.com/repos/jbenet/go-ipfs/issues/811","labels_url":"https://api.github.com/repos/jbenet/go-ipfs/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/jbenet/go-ipfs/issues/811/comments","events_url":"https://api.github.com/repos/jbenet/go-ipfs/issues/811/events","html_url":"https://github.com/jbenet/go-ipfs/issues/811","id":58710779,"number":811,"title":"ipfs object put should accept stdin","user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbenet/go-ipfs/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"cryptix","id":111202,"avatar_url":"https://avatars.githubusercontent.com/u/111202?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptix","html_url":"https://github.com/cryptix","followers_url":"https://api.github.com/users/cryptix/followers","following_url":"https://api.github.com/users/cryptix/following{/other_user}","gists_url":"https://api.github.com/users/cryptix/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptix/subscriptions","organizations_url":"https://api.github.com/users/cryptix/orgs","repos_url":"https://api.github.com/users/cryptix/repos","events_url":"https://api.github.com/users/cryptix/events{/privacy}","received_events_url":"https://api.github.com/users/cryptix/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-24T09:06:30Z","updated_at":"2015-03-07T12:11:34Z","closed_at":null,"body":"maybe:\r\n```\r\nipfs object put - json\r\n```\r\n\r\nor move the encoding to a flag and default to json."},"comment":{"url":"https://api.github.com/repos/jbenet/go-ipfs/issues/comments/77686811","html_url":"https://github.com/jbenet/go-ipfs/issues/811#issuecomment-77686811","issue_url":"https://api.github.com/repos/jbenet/go-ipfs/issues/811","id":77686811,"user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T12:11:34Z","updated_at":"2015-03-07T12:11:34Z","body":"the `object put` cmd takes the encoding as arg -- i dont remember/know why (@mappum ?) \r\n\r\n```\r\n> ipfs object put --help\r\n\r\n    ipfs object put <data> <encoding> - Stores input as a DAG object, outputs its key\r\n\r\nARGUMENTS:\r\n\r\n    <data>     - Data to be stored as a DAG object\r\n    <encoding> - Encoding type of <data>, either \"protobuf\" or \"json\"\r\n```\r\n\r\nso\r\n\r\n```\r\nipfs object put test.json json \r\n```"}}