{
"test_id": "get_json_object",
"pyspark_version": "3.5",
"generated_at": "2025-10-27T14:13:23.682211",
"input_data": [
{
"id": 1,
"name": "Alice",
"text": "Hello World",
"email": "alice@example.com"
},
{
"id": 2,
"name": "Bob",
"text": "Test String",
"email": "bob@test.com"
},
{
"id": 3,
"name": "Charlie",
"text": "Python Data",
"email": "charlie@company.org"
}
],
"operation": "DataFrame operation: get_json_object",
"expected_output": {
"schema": {
"field_count": 1,
"field_names": [
"get_json_object({\"name\":\"Alice\",\"age\":25}, $.name)"
],
"field_types": [
"string"
],
"fields": [
{
"name": "get_json_object({\"name\":\"Alice\",\"age\":25}, $.name)",
"type": "string",
"nullable": true
}
]
},
"data": [
{
"get_json_object({\"name\":\"Alice\",\"age\":25}, $.name)": "Alice"
},
{
"get_json_object({\"name\":\"Alice\",\"age\":25}, $.name)": "Alice"
},
{
"get_json_object({\"name\":\"Alice\",\"age\":25}, $.name)": "Alice"
}
],
"row_count": 3
}
}