5.30 JSONBindFileService

The JSONBindFileService is designed to make the job of reading JSON data into applications and the creation of JSON data by applications simple. This is one of several services that are designed to consume the classes generated from the JSON Binding Wizard (a feature of the LANSA Integrator Studio), so the use of LANSA Integrator Studio is a key part of the JSONBindFileService.

So, for example, if you receive an order in JSON format into a directory on your server, the JSONBindFileService could be used to read the order data, convert the data to fields inside your program, from which the program can then process the data as required. Alternatively, your application might be the one that needs to create an order to be sent to a supplier. In which case your application would prepare the data required for the order then to use the JSONBindFileService to create the JSON file.

Related Services

The JSONBindFileService is one of several services that can consume the classes generated from the JSON Binding Wizard. Another service in this family combine the JSON binding with specific transport support:

The JSONBindFileService does not provide transport of the file. If you need to transport the document, you may need to use one the service listed above or combine it with one of the transport focused services such as:

Technical Specifications

The JSONBindFileService needs to be used in conjunction with the bindings created using the JSON Binding Wizard of the LANSA Integrator Studio. Once created you will need to move the relevant .jar and property files to the server before you can run the application.

Please refer to the JSON Binding Wizard if you are not familiar with it.