Pretty Print JSON In Python
Use `sort_keys`, `indent`, and `default` to pretty print JSON from Python
Code
=
:
}
=
Results
{
"metadata": {
"version": "0.1.0"
}
}
The `default=str` argument prefents issues when converting Date objects.