jsonAsNode

fun Table.jsonAsNode(name: String, objectMapper: ObjectMapper = jacksonObjectMapper()): Column<JsonNode>

Creates a column, with the specified name, for storing JSON data.

The method is a shorthand for Table.json, using ObjectMapper for serialization and deserialization.

Parameters

name

Name of the column

objectMapper

The ObjectMapper used to convert between the JSON string and JsonNode