ELDF is an extra lightweight data format, an alternative to JSON.
EL?
The aim of ELDF is to almost completely get rid of all visual noise of JSON (such as
{,
},
", and
,).
Examples:
JSON | ELDF |
---|---|
{ "personal": { "host": 50608, "subscription": { "type": "Basic", "bills": "monthly" }, "path": "C:\\Users\\DNS\\Dropbox" } } | personal host = 50608 subscription type = Basic bills = monthly path = C:\Users\DNS\Dropbox |
{ "added_words": [ "plugin", "habrahabr" ], "font_size": 11 } | added_words = [ plugin habrahabr ] font_size = 11 |
[ { "userId": 1, "id": 1, "title": "delectus aut autem", "completed": false }, { "userId": 1, "id": 2, "title": "quis ut nam facilis et officia qui", "completed": false } ] | [ . userId = 1 id = 1 title = delectus aut autem completed = 0B . userId = 1 id = 2 title = quis ut nam facilis et officia qui completed = 0B ] |
{ "schema_version": "3.0.0", "packages": [ { "name": "Django Lookup Snippets", "details": "https://github.com/icycandle/...", "releases": [ { "sublime_text": "*", "tags": true } ] }, { "name": "Django Manage Commands", "details": "https://github.com/vladimirnani/...", "labels": ["Django", "python", "web", "management"], "releases": [ { "sublime_text": "<3000", "tags": "st2-" }, { "sublime_text": ">=3000", "tags": "st3-" } ] } ] } | schema_version = ‘3.0.0’ packages = [ . name = Django Lookup Snippets details = https://github.com/icycandle/... releases = [ . sublime_text = * tags = 1B ] . name = Django Manage Commands details = https://github.com/vladimirnani/... labels = [ Django python web management ] releases = [ . sublime_text = <3000 tags = st2- . sublime_text = >=3000 tags = st3- ] ] |
[ {"number": 0, "chapter": "Read Me First!"}, {"number": 1, "chapter": "How Names Work"}, ... ] | [ . number = 0; chapter = Read Me First! . number = 1; chapter = How Names Work ... ] |
|
|
|
|
Reference implementation in Python and JavaScript:
Discussion Forum
Issues (bugs and feature requests):
Articles on ELDF:
- Article on habr.com (in Russian) titled ‘‘ELDF — новый текстовый формат данных (альтернатива JSON)’’