I was with Jason Stringify just last night, but he tried to convert me to a new religion so I left.
just jq and cut to the chase
It's spelled "j/k"
Ugh, terrible memory unlocked.
I asked someone a similar question in an interview once. They weren't doing well and I wanted to end on a positive at least. I asked them to make a dict in python and for extra credit, turn it into a string using whatever library or method they want.
This was not for a junior position.
5 minutes of for loop insanity later they disconnected crying. I always felt bad for that guy.
Subtle hint that this is not for them.
cat = dict(name=‘Garfield’, color=‘orange’)
str(cat)
Can I have that job?
I would have accepted this answer.
I was hoping for json.dumps, but that'll work.
When imposter syndrome meets an actual imposter!
Javascript is a human rights violation
i agree but hate to add the caveat that it (well, typescript) these days is by far the language that i’m most productive in, with the fewest bugs
it took me a long time to admit that to myself
it’s still a human rights violation
They may think they have gotten over me, but they always come back.
Ew JavaScript
Dude, it runs client side code for most of the Internet.
alternative scenerio:
Guy: "it turns javascript objects into texts in json format"
Soldier: "He uses javascript, shoot the poor bastard"
Are they from the army of Rust Neckbeardistan.
Alternative scenario:
Soldier B: Soldier A asked a JavaScript question instead of a software engineering question. He's not a real soldier, shoot him
Name 3 UML diagrams and 3 architectures!
“It’s ok. Just shoot me.”
I ll do you a better one. Why is Jason?
Don't ask - if he told you then he'd have to kill you...
![]()
Jesus Christ!
No no no no no - keep up! We're talking about "Jason" - the one who was killed but came back to continue his task anyway... oh, I see the confusion now 🤔🤪

because otherwise the javascript objects would be unnoted
Drax the Destroyed.
Shaun!
(X) Shaun!
TypeError: JSON.stringfy is not a function
Oh shit didn’t notice the typo. Probably the all caps didn’t help.
Its ok, JavaScript is an interpreted language so the client won't notice until after we've shipped.
of course MIT uses their own JSON primitives
Not sure every software engineer needs to know this. If they'd said web developer I suppose this would really be expected knowledge, but then you'd probably want to shoot them anyway.
Web developer, or business developer. A lot of inter-system communications these days is in JSON, whether there is any JavaScript involved or not.
honestly, this is used for debugging. Why not just pass the object as value to the console.log()
Stringify is used to serialize an object. This is useful if you are going to store the object or transfer the object contents to some other system or component, possibly over a network using a network protocol.
For debugging, you should use a function like console.log, which depending on the client might even offer an interactive UI to explore the object with structurally aware context. Not just print a giant string, which you get from stringify.
Stringify is used to serialize an object poorly
stringify is used to serialize an object good enough in the large majority of cases because we have far more poorly implemented hacks to work around
Not only used for debugging and also if you log a complex object, the way it gets displayed in the console is not always easy/possible to fully inspect. It will get.. truncated for lack of a better word
Or when is Json? When??
i've designed my own communication protocols that run directly on udp. i couldn't tell you either.
I refuse to believe you couldn't infer what this is, you're way too smart and you could definitely just guess.
I mean, that’s fine, right up till you have to communicate with something else. Given that 99% of APIs out there use JSON.
only on the web.
Uh-huh, and where do you think most “something else that you would interact with” live from a computing standpoint. It’s not like you’re using X12 or HL7 everywhere.
you're a few layers too high up then. i work mostly in ble and lora networks. json is waaay to verbose.
Wait until you hear about this XML thing.
Ima guess it's javascript-ese to turn a json object into a string, perhaps for serialization. But no clue, coding for decades but always hated js, I guess my way through with a linter and IDE when I absolutely, positively, cannot find an alternative, which seldom happens.
I mean, the meme could've been ‘oh, it's JS, shoot me’
Before yaml, I used json with Ruby it was way nicer to read than xml config files ( but way before that I started using it with PHP and Actionscript)
Yeah you don’t have to be using JavaScript to use json. Yes I know it’s part of the name, but it’s just an object notation which is the other part of the name, and this has become widely accepted for use in nearly all popular languages and frameworks.
Are there any other languages that would also have Json.Stringify? I only read JS sometimes and never write those, so I may be wrong about that.
JSON itself is fine, yeah
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics