JSON-Enable NonStop COBOL and C programs with JSON Thunder
Quite often, Nonstop applications need to exchange data with other platforms internally in the enterprise, or with external applications in the cloud. The data format of choice for data exchange today is JSON.
What is JSON?
Advantages of JSON
One of the main advantages of JSON is that it is language-independent, meaning it can be used with any programming language that supports it. This makes it a versatile choice for building cross-platform applications, as developers can easily share data between different systems and platforms. While XML continues to be in use by some applications, almost all new modern applications adopt JSON as the data format of choice.
Another advantage of JSON is its human-readable format, making it easy for developers to work with and understand the data. This is particularly useful in cases where different systems need to communicate with each other and the data needs to be parsed and interpreted.
JSON is also widely used in modern web service development, including RESTful API services. Developers can easily access and use data from these services by simply serializing and deserializing the JSON data using built-in feature in their IDE such as Visual Studio. This enables developers to quickly and easily build new applications and services that integrate with these existing platforms.
JSON Thunder for NonStop
If you want to incorporate JSON support in your COBOL or C programs, JSON Thunder can make the job really easy. Thunder generates all of the source code required for COBOL programs to interface with JSON. Using the toolset’s Visual Designer, develop JSON Handlers to convert (i.e. parse) JSON messages to program fields or create JSON messages from program fields. These JSON Handlers – called Readers and Writers – are created in just three easy steps.
In conclusion, JSON is an essential tool for interoperability between different applications and platforms. JSON Thunder enables seamless data exchange and easy integration between NonStop applications and other different systems and platforms.
Do you find this tutorial blog helpful? Let us know what you think, and how we can make it even better. Don’t forget, you can subscribe to our blogs to get automatic email notification when a new blog is available.
Phil Ly is the president and founder of TIC Software, a New York-based company specializing in software and services that integrate NonStop with the latest technologies, including Web Services, .NET and Java. Prior to founding TIC in 1983, Phil worked for Tandem Computer in technical support and software development.