How can I ensure the create_object filter returns a null value in the object?

Options
Alimama
Alimama Member
edited June 2023 in ? Transforming data

I have two lists, key_list = ["a", "b", "c"], values_list = [1,2,null]. The create_object filter will return

{"a":1, "b":2}, the entry with null will not be included. What can I do to ensure {"a":1, "b":2, "c":null}?

Answers

  • MattLaro
    MattLaro Member ✭✭
    Options

    I would report this as a bug… if there's three keys in the input of this filter, the output should also have three keys, null value or not.