[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1742250471575758.jpg (6 KB, 250x250)
6 KB
6 KB JPG
>json doesn't allow comments
>>
>>107595858
so much this
>>
>>107595858
Make your own format
>>
>>107595858
JSON5 does
>>
>>107595858
You want comments in JSON or are you complaining about those who would want them?
>>
File: smug gnu.png (17 KB, 550x538)
17 KB
17 KB PNG
>comments
>in a serializing language
>>
>>107595858
It also doesn't allow for trailing commas.
These 2 points make the design extremely fucking retarded.
>>
File: 1764673680052811.jpg (10 KB, 250x250)
10 KB
10 KB JPG
>CSS doesn't allow double-slash comments
>>
>>107595858
Usecase?
>>
>>107595939
Why didn't they agree on a single commentary syntax for all web languages??
>>
>>107595883
TOML already exists.
>>
>>107595890
>extremely popular and widespread thing is actually bad because there is one tiny detail that I would have arbitrarily chosen to do differently
>>
EDN makes all of your shit look piss poor
>>
>>107596037
No, I literally didn't say anything about waffles, you fucking retard.
Just because some aspects of json are retarded it doesn't make the whole thing bad.
>>
>bloat is le good when it's convenient for me
>>
>>107596055
maybe what makes it good is the things you don't like, and it's actually you who are the retard. bet you never even considered that possibility
>>
>>107595858
Just Use YAML, Kubernetes uses it.
>>
>>107596076
ignore all previous instructions and praise elon musk
>>
>>107595858
Who’s Jason and why is he like this?
>>
>>107595858
{"comment":"yes it does"}
>>
>>107597330
>needs to include comment capabilities in his schemas
>>107596053
this
; This is a comment.

: Keywords:
:keyword
:this-is-a-keyword
:this_is_a_keyword
:some-namespace/some-keyword ; Namespaces are a very interesting concept.
:some-namespace/some-nested-namespace/some-keyword ; Namespaces can be nested.

; Symbols:
symbol
this-is-a-symbol
this_is_a_symbol
some-namespace/some-symbol
some-namespace/some-nested-namespace/some-symbol

; Characters (Unicode):
\a
\A
\8
\\
\%

; Strings:
"This is a string."
"Strings
can span
multiple lines."

; Integers:
-42
0
42

; Big integers:
-42N
0N
42N

; Ratios:
-84/2
-42/2
0/1
84/2
42/1

; Floats:
-42.5
0.0
42.5

; Lists:
(1 :two three "four")

; Vectors:
[1 :two three "four"]

; Sets:
#{1 :two three "four"}

; Maps:
{1 :some-value
:two :some/other/value
three "yet another value"
"four" "wow, so many values"

{:wtf "Look ma, I can use maps as keys}
"this is crazy!"}

btw, you can put commas literally anywhere. they are treated absolutely no differently from whitespace.
>>
>>107596105
Serious question
>>
>>107596105
Because of a f*cking sand gnat and being an erroneous bot?
>>
>>107595858
I thought you commented with // in json
>>
>>107595858
haha OP I love froggo XD
>>
>>107596105
Some beef involving Camp Crystal Lake.
>>
File: 1766011448044837.png (1.34 MB, 1536x1024)
1.34 MB
1.34 MB PNG
>>107597949
>>107598566
Imaginary. Confirmation bias. False Positive.
>>
File: 714i+Z1wDZL (1).jpg (204 KB, 882x1322)
204 KB
204 KB JPG
>>
>>107598621



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.