LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Able to map NULL value instead of empty string in JSON

Open DanielleCogs opened this issue 1 year ago • 2 comments
trafficstars

Describe the Bug with repro steps

This was created to prioritize one of the issues in this bug- https://github.com/Azure/LogicAppsUX/issues/3773

Source json has following payload [just cleared other elements for clarity],

{
  "supply": {
    "city": null
   }
}

But in Target json payload, null value is reflecting as empty string,

{
  "supply": {
    "city": ""
  }
}

How to enforce null value as is in the target ?

Screenshots or Videos

No response

Version

v2.85.0

Additional context

We can create a function to generate a null value, or change the logic to allow null for json schemas.

DanielleCogs avatar Jan 16 '24 18:01 DanielleCogs

Bump on this, we also need this!

LawrenceV84 avatar Mar 18 '24 14:03 LawrenceV84

Danielle re-test this to confirm that this is fixed!

DanielleCogs avatar Aug 05 '24 21:08 DanielleCogs