Parse JSON from open RESTful API and save to FoxBase

by

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

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

Download FileToDB Download FileToDB

Import JSON from open RESTful API to FoxBase database

Choose FoxBase and logon.

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

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

convert online JSON_API file to FoxBase table - task window

Select “Source File From” with “Url”.

import online RSS feeds to FoxBase - select type

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

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

2. Open the saved JSON file.

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

3. Config target FoxBase database.

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

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

import online RSS feeds to FoxBase - create FoxBase table

Select table and config fields.

import online RSS feeds to FoxBase - config FoxBase fields

4. Summary.

import JSON from open RESTful API to  FoxBase database - summary

5. Import RESTful JSON to FoxBase.

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

See importing results in FoxBase table

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

Import API JSON_API to FoxBase in command line

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

Set scheduled tasks for importing API JSON_API to FoxBase

You can schedule and automate this importing task by:

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

More about FileToDB – JSON to FoxBase converter

JSON → FoxBase reference

Type mapping

Value kindin JSONin FoxBase
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 FoxBase 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 FoxBase
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 FoxBase.
  • JSON values of kind Binary have nowhere to go in FoxBase.
  • JSON values of kind JSON have nowhere to go in FoxBase.

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.