You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which gives a nice interactive, collapsable, searhable display.
Not working as expected: JSON output in kotlin
I tried achieving the same with Kotlin:
val jsonStr = """
{"a": [1, 2, 3, 4], "b": {"inner1": "helloworld", "inner2": "foobar"}}
"""
MIME("application/json" to jsonStr)
This is interpreted as JSON value of string, rather than a JSON object (however Jupyter seems to still think it is showing JSON - see the root label and the search box).
Is there a way to properly render a json value with MIME?
The text was updated successfully, but these errors were encountered:
Baseline: JSON output in python
In a python notebook, I can do the following:
Which gives a nice interactive, collapsable, searhable display.
Not working as expected: JSON output in kotlin
I tried achieving the same with Kotlin:
This is interpreted as JSON value of string, rather than a JSON object (however Jupyter seems to still think it is showing JSON - see the
root
label and the search box).Is there a way to properly render a json value with
MIME
?The text was updated successfully, but these errors were encountered: