Skip to content

Commit 9507ae1

Browse files
committed
Update serialization documentation for DataFrameConvertable type
1 parent 108728d commit 9507ae1

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

docs/serialization_format.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ rendering Kotlin dataframes in the Kotlin notebooks plugin of IntelliJ IDEA.
1212
* ...
1313

1414
**2.1.0:**
15-
* Added a `types` property to dataframe and and row metadata. It contains column
15+
* Added a `types` property to dataframe and row metadata. It contains column
1616
information for all groups, frames and values.
1717

18+
**2.1.1:**
19+
* Added a new type of `ValueColumn` value that is DataFrameConvertable type
20+
1821
### Top level json structure
1922
```json
2023
{
@@ -32,8 +35,8 @@ rendering Kotlin dataframes in the Kotlin notebooks plugin of IntelliJ IDEA.
3235
### Row
3336
```json
3437
{
35-
"<value_column_name1>": string|Boolean|Double|Int|Float|Long|Short|Byte|list,,
36-
"<value_column_name2>": string|Boolean|Double|Int|Float|Long|Short|Byte|list,,
38+
"<value_column_name1>": string|Boolean|Double|Int|Float|Long|Short|Byte|list|DataFrameConvertable,
39+
"<value_column_name2>": string|Boolean|Double|Int|Float|Long|Short|Byte|list|DataFrameConvertable,
3740
...
3841
"<column_group_name1>": ColumnGroup,
3942
"<column_group_name2>": ColumnGroup,
@@ -77,3 +80,15 @@ rendering Kotlin dataframes in the Kotlin notebooks plugin of IntelliJ IDEA.
7780
}
7881
```
7982

83+
### DataFrameConvertable
84+
```json
85+
{
86+
"metadata": {
87+
"kind": "DataFrameConvertable"
88+
},
89+
"data": [ Row, ... ]
90+
}
91+
```
92+
93+
94+

0 commit comments

Comments
 (0)