how can you change the JSON schema mapping primative type?

0
when importing the JSON anything set with Null gets unknown, how do I change this to ‘string’ or ‘decimal’? in the JSON I also cant figure out how to change the primitive type   error: the mapping does not align with the underlying schema
asked
1 answers
1

Hey Jason,

If you have the ability to update your JSON Structure in Mendix, and you know what the fields are meant to be,

I'd recommend manually changing them to be empty strings. So your resulting structure would look something like this:

{

   "Cost of goods sold" : 100.00,

   "Total" : 150.00,

   "TotalForeign" : "",

   "Account" : ""

}

 

Hope this helps,

Austin

answered