←back to thread

700 points yen223 | 1 comments | | HN request time: 0.258s | source
Show context
pseufaux ◴[] No.42060817[source]
I'll add `plutil` to the list. It's great for reading plist files, but did you know it can parse json too?

/usr/bin/plutil -extract your.key.path raw -o - - <<< "$jsoninput"

(obviously, less useful now that `jq`is built in)

replies(2): >>42061504 #>>42064072 #
1. hk1337 ◴[] No.42064072[source]
> obviously, less useful now that `jq`is built in

Hold up, what?