[ |../../index.htm#lansa/webserviceseng01_0385.htm]
You are here:

Constructing JSON Data for Your Request Body

To efficiently construct and add a JSON object or array to your request body, use XPRIM_JsonWriter.
It's essential that you use XPRIM_JsonWriter when your JSON data is big (instead of directly instantiating multiple XPRIM_JsonObject or XPRIM_JsonArray), as XPRIM_JsonWriter is designed to perform better for big data.
Define_Com Class(#XPRIM_HttpRequest) Name(#Req)