DEV Community

Discussion on: What is a best / simplest way to serialize / deserialize JavaScript objects?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited
  • Both NeDB and MongoDB can differentiate between a real Date object, and date ISO string.
  • I mean, why special key ($$date), not Array. I cannot even make special Object work.
  • Keys being ordered is important when I try to hash Objects. In that case, I use fast-json-stable-stringify or js-yaml + SparkMD5.