Skip to content

Enhancements to print_json

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 29 Aug 14:57
· 1655 commits to master since this release

This release highlights JSON keys with a different color

Screen Shot 2021-08-29 at 14 38

[10.9.0] - 2020-08-29

Added

  • Added data parameter to print_json method / function
  • Added an --indent parameter to python -m rich.json

Changed

  • Changed default indent of JSON to 2 (down from 4)
  • Changed highlighting of JSON keys to new style (bold blue)