Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

one if you do `copy(JSON.stringify(data,{}, 2))`. A very useful tool when you need to get the auth token from here over to there!

Also if you are someone who needs JSON then install jq and do `pbpaste | jq . | pbcopy`.



Is jq not pre installed?


Yow you're right. I've got one at /usr/bin as well as the one I thought I had to install. What a world!!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: