Parse JSON from open RESTful API and save to DBF

by

Want to parse JSON from open RESTful API and save to DBF database?

Try Withdata FileToDB, a desktop JSON to DBF converter for Windows, MacOS, and Linux, Import JSON to DBF, Easy and Fast.

Download FileToDB Download FileToDB

Import JSON from open RESTful API to DBF database

Choose DBF and logon.

convert online JSON_API file to DBF table - Choose DBF and logon

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

convert online JSON_API file to DBF table - task window

Select “Source File From” with “Url”.

import online RSS feeds to DBF - select type

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

import JSON from open RESTful API to  DBF database - download from RESTful API URL to JSON file

2. Open the saved JSON file.

import JSON from open RESTful API to  DBF database - open saved JSON file

3. Config target DBF database.

import JSON from open RESTful API to  DBF database - config  DBF table

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

import online RSS feeds to DBF - create DBF table

Select table and config fields.

import online RSS feeds to DBF - config DBF fields

4. Summary.

import JSON from open RESTful API to  DBF database - summary

5. Import RESTful JSON to DBF.

import JSON from open RESTful API to  DBF database - import to  DBF database

See importing results in DBF table

import JSON from open RESTful API to Excel file - view DBF table

Import API JSON_API to DBF in command line

Save “JSON_API to DBF” session, then you can:

Set scheduled tasks for importing API JSON_API to DBF

You can schedule and automate this importing task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “JSON to DBF” conversion.
  2. Set scheduled task for “JSON to DBF” conversion.

More about FileToDB – JSON to DBF converter

JSON → DBF reference

Type mapping

Value kindin JSONin DBF
Int1234 (number)Numeric(10,0)
Bigint9007199254740993Numeric(19,0)
Decimal1234.56 (number)Numeric(p,s)
Float1.234e10 (number)Float
Text"text" (string)Character(n)
Long text"multi-line\ntext" (escaped newline inside a string)Memo
Date"2026-09-18" (string)Date
Datetime"2026-09-18T14:30:00Z" (string)(none)
Binary"base64:..." (string)(none)
Booleantrue / false (boolean)Logical
JSONnested object or array, kept as structure(none)

Dialect differences

JSON is a file format and DBF is a database server, so the target has to be told the types the file never carried - the rows below are where the two sides diverge.

Propertyin JSONin DBF
port—(file-based)
identifiersDouble quotes; backslash escapes—
row limit—(driver dependent)
datesNo date type: dates arrive as strings and the reader must p...Date (D)
long text—Memo (M)
binaryNot supported natively - base64 inside a string—
separatorBraces and commas—
encodingUTF-8 by definition—
typingstring, number, boolean, null, object, array - no date type—
shapeNested objects and arraysTables of rows and columns
ceilingWhole document is usually parsed into memory—

No counterpart

  • JSON values of kind Date and time have nowhere to go in DBF.
  • JSON values of kind Binary have nowhere to go in DBF.
  • JSON values of kind JSON have nowhere to go in DBF.

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.