Closed NCS-Thomas closed 3 years ago
Acceptance fields are parsed to invalid json. The fields were represented: string 1 for true and an empty string for false. This is not in line with the json specs (https://json-schema.org/understanding-json-schema/reference/boolean.html).
The proposed fix check if a field is an acceptance field. If so it will map value to be a string representation of boolean value.
LGTM thanks
Acceptance fields are parsed to invalid json. The fields were represented: string 1 for true and an empty string for false. This is not in line with the json specs (https://json-schema.org/understanding-json-schema/reference/boolean.html).
The proposed fix check if a field is an acceptance field. If so it will map value to be a string representation of boolean value.