{ "expression": [ "format", "a", {}, "b", { "font-scale": 2 }, "c", { "text-font": [ "literal", [ "a", "b" ] ] }, "d", { "text-color": "rgb(0, 255, 0)" } ], "inputs": [ [ {}, {} ] ], "expected": { "compiled": { "result": "success", "isFeatureConstant": true, "isZoomConstant": true, "type": "formatted" }, "outputs": [ { "sections": [ { "text": "a", "image": null, "scale": null, "fontStack": null, "textColor": null }, { "text": "b", "image": null, "scale": 2, "fontStack": null, "textColor": null }, { "text": "c", "image": null, "scale": null, "fontStack": "a,b", "textColor": null }, { "text": "d", "image": null, "scale": null, "fontStack": null, "textColor": {"r":0,"g":1,"b":0,"a":1} } ] } ], "serialized": [ "format", "a", {}, "b", { "font-scale": 2 }, "c", { "text-font": [ "literal", [ "a", "b" ] ] }, "d", { "text-color": ["rgba", 0, 255, 0, 1] } ] } }