Is it possible to convert one or more columns of a Deephaven table to JSON?
Yes, you can use NumPy to do so. Convert the column(s) to NumPy arrays via deephaven.numpy.to_numpy
, then with json.JSONEncoder. For more information on NumPy and JSON for this use case, see here.
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!