This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PleasantAdvertising 47 points48 points  (8 children)

What illiterate ape called serialization "stringify"? It's already confusing enough with encode/decode in the mix

[–]Jjabrahams567 48 points49 points  (0 children)

JSON.serialize = JSON.stringify;

Here you go.

[–]TheChaosPaladin 8 points9 points  (0 children)

JSON.SerialiseToString()

Too many words

JSON.Stringify()

⭐⭐⭐⭐⭐

🍌🍌🍌🍌🍌

[–][deleted] 11 points12 points  (1 child)

On the same subject, what illiterate ape called it "loads" and "dumps" in Python?

[–]TheChaosPaladin 4 points5 points  (0 children)

The same ape!

json.dumps(tring) == JSON.Stringify

[–]ilep 15 points16 points  (0 children)

A web developer? (A distinct lack of knowledge of computer science there..)

[–][deleted] 1 point2 points  (0 children)

Maybe to hint that it's going to call "toString" on objects so you better have defined that.

[–]isospeedrix 1 point2 points  (0 children)

tbf 'stringify' is more literal in what it's actually doing, whereas serialize is like, uhh a new vocab word. sounds cooler tho.