v.24.10Experimental Feature

Allow JSON column to be serialized/deserialized as String in Native format

Allow to serialize/deserialize JSON column as single String column in the Native format. For output use setting output_format_native_write_json_as_string. For input, use serialization version 1 before the column data. #70312 (Pavel Kruglov).
Allows serialization and deserialization of JSON columns as a single String column in the Native format.

Why it matters

This feature addresses the need to handle JSON columns more flexibly by enabling them to be serialized and deserialized as plain strings within the Native format. It simplifies data interchange scenarios where JSON data is better handled as string data, improving compatibility and usability.

How to use it

To serialize JSON columns as strings in output, enable the setting output_format_native_write_json_as_string. For deserialization (input), use serialization version 1 before the column data to interpret the JSON column as a string.