(This page in English\Эта страница на английском)



ELDF — это облегчённый формат данных (extra lightweight data format), альтернатива JSON.
EL?

Цель/назначение ELDF заключается в том, чтобы почти полностью избавиться от визуального шума формата JSON (такого как символы
{
,
}
,
"
и
,
).


Примеры:
JSONELDF
{
    "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
    ...
]






Реализация на языках Python и JavaScript:


Форум для обсуждения

Сообщить об ошибке или предложить идею:


Статьи по ELDF: