To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe

DataFlex Courses


Next lesson:

Working with JSON

Lesson 7: Conclusion

There are two additional ways to use JSON with DataFlex: 

  1. Calling JSON REST services has the class cJsonHttpTransfer class that works with the cJsonObject class as input and output types. 
  2. Use JSON with the regular DataFlex web services. 
    1. When a web service is defined in DataFlex methods are published that can have structs and arrays as parameters and return values. They can be called using SOAP, JSON and XML. 
    2. If looked at as a generated service a service page will be generated that lists all the available functions. Clicking on one of the procedures shows an overview of how to call it using SOAP, XML and then JSON.