Tag: SPL Practices
SPL Practices: Parse and Filter Multilevel RESTful JSON
Background It is convenient to exchange data via RESTful, but there is a little troublesome about how to compute the received data. SPL offers HTTP interface to directly read RESTful data and compute it. As the following example shows, in the ecommerce business, orders data access is encapsulated as the REST interface to be accessed by other business systems. Find the example in the following website:http://111.198.29.168:8503/getOrders http://111.198.29.168:8503/getOrders/bDate/eDate Where bDate and eDate are path parameters, which can be formed directly in URL; the parameters specify the beginning date and the ending date for the query. Below is the JSON-format data returned
...







