Is it possible to convert one or more columns of a Deephaven table to JSON?
Yes. Convert the column(s) to a NumPy array with deephaven.numpy.to_numpy, then serialize the array to JSON with Python's json module. to_numpy converts one column, or several columns of the same type, into a NumPy array. For columns of mixed types, use deephaven.pandas.to_pandas and the DataFrame's to_json method instead.
For more on working with NumPy arrays in Deephaven, see How to use NumPy.
Note
These FAQ pages contain answers to questions about Deephaven Community Core that our users have asked in our Community Slack. If you have a question that is not in our documentation, join our Community and we'll be happy to help!