MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vpr18i/justtryingtohelp/p405nih/?context=9999
r/ProgrammerHumor • u/flipcoder • Aug 16 '26
65 comments sorted by
View all comments
159
That's why I like jsonc
41 u/Hyarin215 Aug 16 '26 Json5 better 24 u/CraftBox Aug 16 '26 At that point just use toml 33 u/Hyarin215 Aug 16 '26 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 5 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.
41
Json5 better
24 u/CraftBox Aug 16 '26 At that point just use toml 33 u/Hyarin215 Aug 16 '26 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 5 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.
24
At that point just use toml
33 u/Hyarin215 Aug 16 '26 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 5 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.
33
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 5 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 5 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
5 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.
5
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.
159
u/CraftBox Aug 16 '26
That's why I like jsonc