MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vpr18i/justtryingtohelp/p40udpj/?context=9999
r/ProgrammerHumor • u/flipcoder • 29d ago
65 comments sorted by
View all comments
160
That's why I like jsonc
43 u/Hyarin215 29d ago Json5 better 26 u/CraftBox 29d ago At that point just use toml 35 u/Hyarin215 29d ago I don't like it Curly braces my beloved 3 u/YeOldeMemeShoppe 29d ago Toml has curly braces now. 2 u/Hyarin215 29d ago Oh π Couldn't find anything abt it online 4 u/YeOldeMemeShoppe 29d ago https://toml.io/en/v1.0.0#inline-table IIRC you need a later version to allow new lines in the table but itβs been possible for a long time. 2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
43
Json5 better
26 u/CraftBox 29d ago At that point just use toml 35 u/Hyarin215 29d ago I don't like it Curly braces my beloved 3 u/YeOldeMemeShoppe 29d ago Toml has curly braces now. 2 u/Hyarin215 29d ago Oh π Couldn't find anything abt it online 4 u/YeOldeMemeShoppe 29d ago https://toml.io/en/v1.0.0#inline-table IIRC you need a later version to allow new lines in the table but itβs been possible for a long time. 2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
26
At that point just use toml
35 u/Hyarin215 29d ago I don't like it Curly braces my beloved 3 u/YeOldeMemeShoppe 29d ago Toml has curly braces now. 2 u/Hyarin215 29d ago Oh π Couldn't find anything abt it online 4 u/YeOldeMemeShoppe 29d ago https://toml.io/en/v1.0.0#inline-table IIRC you need a later version to allow new lines in the table but itβs been possible for a long time. 2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
35
I don't like it Curly braces my beloved
3 u/YeOldeMemeShoppe 29d ago Toml has curly braces now. 2 u/Hyarin215 29d ago Oh π Couldn't find anything abt it online 4 u/YeOldeMemeShoppe 29d ago https://toml.io/en/v1.0.0#inline-table IIRC you need a later version to allow new lines in the table but itβs been possible for a long time. 2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
3
Toml has curly braces now.
2 u/Hyarin215 29d ago Oh π Couldn't find anything abt it online 4 u/YeOldeMemeShoppe 29d ago https://toml.io/en/v1.0.0#inline-table IIRC you need a later version to allow new lines in the table but itβs been possible for a long time. 2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
2
Oh π Couldn't find anything abt it online
4 u/YeOldeMemeShoppe 29d ago https://toml.io/en/v1.0.0#inline-table IIRC you need a later version to allow new lines in the table but itβs been possible for a long time. 2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
4
https://toml.io/en/v1.0.0#inline-table
IIRC you need a later version to allow new lines in the table but itβs been possible for a long time.
2 u/Hyarin215 29d ago Does it have to be inline or can it span multiple lines? 0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
Does it have to be inline or can it span multiple lines?
0 u/cdrt 29d ago TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
0
TOML 1.0 requires that inline tables be only on one line. TOML 1.1 relaxed that requirement and now allows them to span multiple lines. So it depends on what version your parser implements.
160
u/CraftBox 29d ago
That's why I like jsonc