Or when is Json? When??
I ll do you a better one. Why is Jason?
Drax the Destroyed.
Don’t ask - if he told you then he’d have to kill you…

alternative scenerio:
Guy: “it turns javascript objects into texts in json format”
Soldier: “He uses javascript, shoot the poor bastard”
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.”
TypeError: JSON.stringfy is not a function
Oh shit didn’t notice the typo. Probably the all caps didn’t help.
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.
honestly, this is used for debugging. Why not just pass the object as value to the console.log()
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
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.
i’ve designed my own communication protocols that run directly on udp. i couldn’t tell you either.
I mean, that’s fine, right up till you have to communicate with something else. Given that 99% of APIs out there use JSON.
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.









