Display the JSON representation of an object. Note that not many frontends support displaying JSON. Parameters ---------- objs : tuple of objects The Python objects to display, or if raw=True raw json data to display. raw : bool Are the data objects raw
(*objs, **kwargs)
| 517 | |
| 518 | |
| 519 | def display_json(*objs, **kwargs): |
| 520 | """Display the JSON representation of an object. |
| 521 | |
| 522 | Note that not many frontends support displaying JSON. |
| 523 | |
| 524 | Parameters |
| 525 | ---------- |
| 526 | objs : tuple of objects |
| 527 | The Python objects to display, or if raw=True raw json data to |
| 528 | display. |
| 529 | raw : bool |
| 530 | Are the data objects raw data or Python objects that need to be |
| 531 | formatted before display? [default: False] |
| 532 | metadata : dict (optional) |
| 533 | Metadata to be associated with the specific mimetype output. |
| 534 | """ |
| 535 | _display_mimetype('application/json', objs, **kwargs) |
| 536 | |
| 537 | |
| 538 | def display_javascript(*objs, **kwargs): |
nothing calls this directly
no test coverage detected