I am using a CODE (python) to transform data produced upstream in my workflow into a somewhat complex JSON format. The JSON schema has a bunch of required fields that must be set to null because my workflow is not supposed to produce that data.
PROBLEM: as I create a python dict that complies with the expected JSON schema I diligently set to None all the fields that must have a null value.
However, when I send it out of the CODE node as output this way: return [ final_json_dict ]
I see that the node output does not include any of the null fields
@barn4k Thanks for the advice.
I would like to avoid maintaining and expanding javascript code since I am not really proficient with it.
Do you have an example of what you mean with:
populate the bullish fields with the Edit Fields node