Official Content

Specifies the Json Input Format for a Structured Data Type.

Values

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.

Scope

Objects: Structured Data Type
Generators: .NET, .NET Framework, Java

Description

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.

Runtime/Design time

This property applies only at design time.

Samples

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"
}

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Rebuild All.

Availability

This property is available since GeneXus 18 Upgrade 1.

See Also

Structured Data Type properties

Last update: June 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant