toJsonWithMetadata
Converts the DataFrame to a JSON string representation with additional metadata about serialized data. It is heavily used to implement some integration features in Kotlin Notebook IntelliJ IDEA plugin.
Return
The DataFrame converted to a JSON string with metadata.
Parameters
The maximum number of top-level dataframe rows to include in the output JSON.
The maximum number of nested frame rows to include in the output JSON. If null, all rows are included. Applied for each frame column recursively
Specifies whether the output JSON should be formatted with indentation and line breaks.
The options for encoding things like images. The default is empty list, which indicates that the image is not encoded as Base64.
Specifies whether the DataFrame should be formatted, a.k.a. it comes from FormattedFrame.df or it contains a DataColumn<FormattedFrame<*>> at any depth. This is just a marker; formatting is applied by the renderer. Defaults to false.