Files
MapLibreParticleLab/metrics/integration/expression-tests/object/implicit/test.json
2023-03-25 14:46:49 +01:00

23 lines
495 B
JSON

{
"expression": ["get", "b", ["get", "a"]],
"inputs": [
[{}, {"properties": {"a": {"b": 0}}}],
[{}, {"properties": {"a": "not"}}]
],
"expected": {
"compiled": {
"result": "success",
"isFeatureConstant": false,
"isZoomConstant": true,
"type": "value"
},
"outputs": [
0,
{
"error": "Expected value to be of type object, but found string instead."
}
],
"serialized": ["get", "b", ["object", ["get", "a"]]]
}
}