DEV Community

Discussion on: What is JSON? And why do you need it?

vlasales profile image
Vlastimil Pospichal • Edited on

JSON is a suitable format for communication with Javascript (and MongoDB). For other cases, use XML.

rizwan486 profile image
Rizwan Hasan Author

You can but it depends on the case. 😊