Skip to main content
#! code

Main navigation

  • Articles
  • Snippets
  • Tools
  • About
  • Contact

User account menu

  • Log in

Breadcrumb

  1. Home
  2. Search Results

Search Results

Article Posted: 23 Dec 2014

Pretty Print JSON With Python

… instead. You can also use this technique for testing scripts or curl requests, in fact anything that produces JSON output can be piped … a web service that produces JSON then you can test this using direct curl commands, which you can then pipe through json.tool to view the output. curl -s http://localhost/service | python -m json.tool What normally …

Category

  • Show all
  • (-)Python

Type

  • Article

Footer Social

  • Mastodon
  • Github
  • Drupal
  • Discord
  • Patreon

Footer

  • About
  • Authors
  • Projects
  • Support Us
  • Articles
  • Snippets
  • Videos
  • Terms And Licence
  • Contributions Guide
  • Privacy Policy
  • Colophon
  • RSS Feeds

© 2026 #! code
Hash Bang Code Ltd.
Company Registration No 13867421