Specifies the Json Input Format for a Structured Data Type.
| Unwrapped | Does not include a label with the name of the SDT as part of the Json input. |
| Wrapped | Includes a label with the name of the SDT as part of the Json input. |
Objects: Structured Data Type
Generators: .NET, .NET Framework, Java
This property is only taken into account for a Structured Data Type (SDT) object when it is the only out parameter of an API object.
The Json Input Format property applies to the SDT Object. The accepted input format will change depending on the selected value.
This property applies only at design time.
With the Wrapped (default) value, the accepted input is as follows:
{ "ClientSDT":
{ "id": 1,
"Name" : "Juan",
"LastName" : "Valdez",
"Country" : "Colombia"
}
}
With the Unwrapped value, the accepted input is as follows:
{ "id": 1,
"Name" : "Juan",
"LastName" : "Valdez",
"Country" : "Colombia"
}
To apply the corresponding changes when the property value is configured, execute a Rebuild All.
This property is available since GeneXus 18 Upgrade 1.
Structured Data Type properties