container.object.jsonJavaScript Object Notation (JSON) object stored as VARCHAR. Represents structured key-value data that may be nested.
$ finetype infer -i "{"user": "john", "age": 30}"
→ container.object.jsonSELECT finetype('{"user": "john", "age": 30}');
-- → 'container.object.json'PARSE_JSON({col})-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS JSON) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'container.object.json';RECURSIVE_INFER_ON_FIELDS({col}){
"$id": "https://meridian.online/schemas/container.object.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "JavaScript Object Notation (JSON) object stored as VARCHAR. Represents structured key-value data that may be nested.\nRECURSIVE INFERENCE: When classified as container.object.json, FineType will parse the JSON and attempt to classify each field value independently. Nested objects trigger recursive classification.\nExample:\n Input: {\"user\": \"john\", \"age\": 30, \"active\": true}\n Output: Struct<user VARCHAR, age BIGINT, active BOOLEAN>",
"examples": [
"{\"user\": \"john\", \"age\": 30}",
"{\"name\": \"Alice\", \"email\": \"alice@example.com\", \"active\": true}",
"{\"nested\": {\"key\": \"value\"}}"
],
"pattern": "^\\{.*\\}$",
"title": "JSON Object",
"type": "string",
"x-finetype-broad-type": "JSON",
"x-finetype-transform": "PARSE_JSON({col})"
}{"user": "john", "age": 30}{"name": "Alice", "email": "alice@example.com", "active": true}{"nested": {"key": "value"}}