57 lines
1.0 KiB
JSON
57 lines
1.0 KiB
JSON
{
|
|
"expression": [
|
|
"format",
|
|
["get", "a"],
|
|
{},
|
|
["get", "1"],
|
|
{},
|
|
["get", "true"],
|
|
{}
|
|
],
|
|
"inputs": [[{}, {"properties": {"a": "a", "1": 1, "true": true}}]],
|
|
"expected": {
|
|
"compiled": {
|
|
"result": "success",
|
|
"isFeatureConstant": false,
|
|
"isZoomConstant": true,
|
|
"type": "formatted"
|
|
},
|
|
"outputs": [
|
|
{
|
|
"sections": [
|
|
{
|
|
"text": "a",
|
|
"image": null,
|
|
"scale": null,
|
|
"fontStack": null,
|
|
"textColor": null
|
|
},
|
|
{
|
|
"text": "1",
|
|
"image": null,
|
|
"scale": null,
|
|
"fontStack": null,
|
|
"textColor": null
|
|
},
|
|
{
|
|
"text": "true",
|
|
"image": null,
|
|
"scale": null,
|
|
"fontStack": null,
|
|
"textColor": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"serialized": [
|
|
"format",
|
|
["get", "a"],
|
|
{},
|
|
["get", "1"],
|
|
{},
|
|
["get", "true"],
|
|
{}
|
|
]
|
|
}
|
|
}
|