When writing/reading JSON in your server module for the purpose of publishing web services, make sure that you use the VL-native PRIM_JsonWriter and PRIM_JsonReader, instead of the XPRIM_JsonWriter and XPRIM_JsonReader (from the RDML Extended Library).
As PRIM_JsonWriter and PRIM_JsonReader are native VL components, you will get considerable performance improvement over XPRIM_JsonWriter.
The Extended Library's XPRIM_JsonReader and XPRIM_JsonWriter should be used only when you are consuming web services (ie using XPRIM_HttpRequest).
This forum allows developers to post programming tips and coding techniques that may be useful to other Visual LANSA developers. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
1 post • Page 1 of 1