Rationale

Adavanced than XML, simpler than JSON.

Design Goals

How is it human language agnositc?

gt does not have values like null, true, false which are specific to human languages. It rather relies on common symbols found on every keyboard.

Why no boolean type?

A traditional value of boolean is either true of false. A generalized standard like gt cannot include english words. 0 and 1 are understood throughout the world.

A schema is generally available between the sender and the receiver of the message. The message can be validated even though it is ambigous in gt.

Why no explicit null type?

One can either remove or comment a field with gt. Adding an explicit null type makes the standard a little heavy and adds 4 bytes when transferring data. nulll can be emulated by writing string as '', objects as {} and arrays as []. This decision was made to simplify the gt’s format.

Why double quotes?

Double quotes add little more visual noise compared to single quotes, but single quotes is extremely hard to encode in shells and other systems that expect double quotes as the escaping type.

Why optional quotes?

Most keys do not contain spaces. GT is an data encoding format that can serve as document format if willing, and it should be possbile to save space by a minifier. And ergonamically typing “key” “value” is painful to write and can be avoided.

Why the weird comment syntax?

To be honest, gt doesn’t have comments similar to JSON. '' [ comment ] is just a regular key and array value pair with an empty name.

Will gt evolve?

No. It is versionless, so it can’t evolve.

Why GT when bajillion other formats already exist?

XML is too much. YAML and TOML are a little heavy too, but still better than XML. I am thankful for JSON but it has some few warts. GT is a result of removing those warts.

Things that were considered but didn’t make it

{, } - for arrays. This made the description language elegant but also introduced a negative element in human readability.