Browse files

Notebook does not support displaying JSON

  • Loading branch information...
1 parent 464d50a commit 61295bd9703e2d021c04781251f8e475015da7e5 @takluyver committed Jul 31, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 IPython/core/display.py
  2. +1 −1 docs/source/config/integrating.txt
View
2 IPython/core/display.py
@@ -186,6 +186,8 @@ def display_latex(*objs, **kwargs):
def display_json(*objs, **kwargs):
"""Display the JSON representation of an object.
+
+ Note that not many frontends support displaying JSON.
Parameters
----------
View
2 docs/source/config/integrating.txt
@@ -20,7 +20,7 @@ these are surrounded by single, not double underscores.
Both the notebook and the Qt console can display ``svg``, ``png`` and ``jpeg``
representations. The notebook can also display ``html``, ``javascript``,
-``json`` and ``latex``. If the methods don't exist, or return ``None``, it falls
+and ``latex``. If the methods don't exist, or return ``None``, it falls
back to a standard ``repr()``.
For example::

0 comments on commit 61295bd

Please sign in to comment.