JSON Module (cupoftea-json)¶
The cupoftea-json module parses and serializes JSON tabular datasets via Jackson Databind.
📦 Dependency¶
<dependency>
<groupId>io.github.cupoftea-labs</groupId>
<artifactId>cupoftea-json</artifactId>
<version>0.17.0</version>
</dependency>
📖 Reading JSON Files¶
The JSON importer parses array-of-objects tabular payloads:
[
{"id": 1, "name": "Ada Lovelace", "score": 98.4},
{"id": 2, "name": "Alan Turing", "score": 99.1}
]
Ingestion Example¶
✍️ Writing JSON Files¶
Export the contents of your DataFrame to a formatted JSON array: