Home
Why FTD?
Docs
Course
News
Github:
Overview
Variables
Built-in Types
record
or-type
list

Data Modelling With ftd

ftd is an alternative to XML/JSON for storing data.

Optimized For Human Readability
ftd is designed for humans to write data. It tries to be a minimal as possible, intuitive and readable, no quote character for strings, avoid indentation etc.

ftd file containing data
-- record person:
name: caption
location: string
bio: optional body

-- person amitu: Amit Upadhyay
location: Banglore, India

Amit is the founder and CEO of FifthTry.

Consider this example. We have described our data, person, and notice we have type for each field. Notice also our types caption, which like “heading of the data”, body, which lets people write multiline strings without worrying about quoting or indentation etc.