Want to parse JSON from open RESTful API and save to DB2 database?
Try Withdata FileToDB, a desktop JSON to DB2 converter for Windows, MacOS, and Linux, Import JSON to DB2, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
Import JSON from open RESTful API to DB2 database
Choose DB2 and logon.

Click “Wizard – 1 File To 1 Table” at task dialog.

Select “Source File From” with “Url”.

1. Input the RESTful API URL, and download to JSON file.

2. Open the saved JSON file.

3. Config target DB2 database.

You can create new DB2 table by JSON struct, just a few mouse clicks.

Select table and config fields.

4. Summary.

5. Import RESTful JSON to DB2.

See importing results in DB2 table

Import API JSON_API to DB2 in command line
Save “JSON_API to DB2” session, then you can:
- Import API JSON_API to DB2 in Windows command line.
- Import API JSON_API to DB2 in Linux command line.
- Import API JSON_API to DB2 in macOS command line.
Set scheduled tasks for importing API JSON_API to DB2
You can schedule and automate this importing task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “JSON to DB2” conversion.
- Set scheduled task for “JSON to DB2” conversion.

