When configuring a JSON import, if the JSON includes nulls, these will be imported as string values "null" into any Text Attribute, while the Value "" will be correctly imported as no value.The Use Case:Using a REST API, I get a JSON response.I want to use the Import to Populate a Text Attribute, using two or more datalocators, for example:Datalocators: platformname, platformversion to the Attribute: OS Name (Text):
this import will result in the Attribute "OS Name": "Windows 98 - null"The expected behavior for this case should be: "OS Name": "Windows 98"If the JSON has "platformversion":"" - this will be correct, however, the JSON is a response from a 3rd party application, and cannot be formatted to replace null with ""....
I am facing the same issue. It should be fixed this way:
I have found a workaround: using Regular expression "^(?!null$)" (without quotes) works ok, but regex matching make huge CPU load, so it can't be used in all the cases