I have several checkboxes in one of my schemas and I am trying to map those in JSON so that the value in the JSON is either
Currently I’m only getting
false back even though for some pages the checkbox value is set to its default (a dash inside of the checkbox input control UI).
To explain further; I have a HTML table with some products.
Each row is a product.
Each product has a bunch of properties.
One of those properties is called HasAirHoles (bool/checkbox)
In the table cell for that property any of the following values should be displayed: “Missing info” (null - the user has not interacted with the checkbox yet in the editorial UI), “Yes” (true), “No” (false).
So as you can see I need that
null value in the JSON object.
I’ve been looking into the InvariantConverter and HttpClientExtensions classes in the ClientLibrary but haven’t been able to figure out exactly how everything works and where to make modifications. Got any ideas?