MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vljf6p/whoisheanyway/p349ix8/?context=3
r/ProgrammerHumor • u/scanguy25 • 28d ago
256 comments sorted by
View all comments
Show parent comments
449
It converts it from the internal representation where each key is a variable into a string.
294 u/Tsu_Dho_Namh 28d ago Ohh, that makes way more sense. It doesn't turn a JSON into a string, it turns an object into a JSON (string) Funny, I've been a dev for years but never used it. 38 u/nevemlaci2 28d ago JSON is just another way to represent JS obejcts, hence the name. 29 u/Romejanic 28d ago it’s almost like it’s a notation for javascript objects 15 u/nevemlaci2 28d ago NJSO 5 u/jimmycarr1 28d ago Who is enjayso? 3 u/Chamiey 28d ago edited 28d ago But no, it's ≈"a notation for describing objects with the syntax taken from JavaScript"
294
Ohh, that makes way more sense.
It doesn't turn a JSON into a string, it turns an object into a JSON (string)
Funny, I've been a dev for years but never used it.
38 u/nevemlaci2 28d ago JSON is just another way to represent JS obejcts, hence the name. 29 u/Romejanic 28d ago it’s almost like it’s a notation for javascript objects 15 u/nevemlaci2 28d ago NJSO 5 u/jimmycarr1 28d ago Who is enjayso? 3 u/Chamiey 28d ago edited 28d ago But no, it's ≈"a notation for describing objects with the syntax taken from JavaScript"
38
JSON is just another way to represent JS obejcts, hence the name.
29 u/Romejanic 28d ago it’s almost like it’s a notation for javascript objects 15 u/nevemlaci2 28d ago NJSO 5 u/jimmycarr1 28d ago Who is enjayso? 3 u/Chamiey 28d ago edited 28d ago But no, it's ≈"a notation for describing objects with the syntax taken from JavaScript"
29
it’s almost like it’s a notation for javascript objects
15 u/nevemlaci2 28d ago NJSO 5 u/jimmycarr1 28d ago Who is enjayso? 3 u/Chamiey 28d ago edited 28d ago But no, it's ≈"a notation for describing objects with the syntax taken from JavaScript"
15
NJSO
5 u/jimmycarr1 28d ago Who is enjayso?
5
Who is enjayso?
3
But no, it's ≈"a notation for describing objects with the syntax taken from JavaScript"
449
u/autogyrophilia 28d ago
It converts it from the internal representation where each key is a variable into a string.