[Python] standard library json formatting Tool

Source: Internet
Author: User

[Python] standard library json formatting Tool

During this period of time, the tasks are messy, some time is being done for O & M, and some time is being done for development. It is always too anxious and I always feel that many tasks are not very satisfactory. We still need to calm down and think about it. We need to spend more time improving, restructuring, and thinking. Software development is never a matter of writing code, so it's easy to complete functions-orangeleliu

Today, I attended a python speech at youtobe, And then I checked what I was talking about. I just turned to the python source code on github and clicked the json one, I saw a good thing and I didn't know it before... You can also find the python formatting tool on the webpage every time.

$ Echo '{"json": "obj"}' | python-m json. tool {"json": "obj "}

Is it a little hacking? Hey (I'm a little low ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.