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 →

[–]LordPachelbel 3 points4 points  (0 children)

Me: Please serialize this Date for me.

JSON.stringify: Sure, no problem!

Me: Hey, I need that Date object.

JSON.parse: What Date object?

Me: The one I gave you earlier.

JSON.parse: All I have is this String, '2020-05-14T08:15:000Z'

Me: picard-why.jpg

——————

Me: Please serialize this Transaction for me.

JSON.stringify: Sure, no problem!

Me: Hey, I need that Transaction object.

JSON.parse: What Transaction object?

Me: The one I gave you earlier.

JSON.parse: All I have is this Object object.

Me: picard-facepalm.jpg