{ "expression": ["to-rgba", ["get", "x"]], "inputs": [ [{}, {"properties": {"x": "red"}}], [{}, {"properties": {"x": "rgba(0, 255, 0, 1)"}}], [{}, {"properties": {"x": [0, 255, 0, 1]}}], [{}, {"properties": {"x": [0, 0, 255]}}] ], "expected": { "compiled": { "result": "success", "isFeatureConstant": false, "isZoomConstant": true, "type": "array" }, "outputs": [[255, 0, 0, 1], [0, 255, 0, 1], [0, 255, 0, 1], [0, 0, 255, 1]], "serialized": ["to-rgba", ["to-color", ["get", "x"]]] } }