Comment by atoav
3 years ago
Or directly from the commandline:
pbcopy | python -c 'import sys; import json; print(json.load(sys.stdin))' | pbpaste
3 years ago
Or directly from the commandline:
pbcopy | python -c 'import sys; import json; print(json.load(sys.stdin))' | pbpaste
The Python json library is callable as a module:
It has a load options: