How a step stores an expression's lambda: protocol JSON with no source information

interface CubeExpressionCodec {
    read: (json: JsonObject) => IR;
    write: (lambda: IR) => JsonObject;
}

Properties

Properties

read: (json: JsonObject) => IR

The IR of a stored lambda's JSON

write: (lambda: IR) => JsonObject

The JSON of a lambda, as a Filter by Expression or an Extend stores it