DEV Community

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

Collapse
vlasales profile image
Vlastimil Pospichal • Edited on

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

Collapse
rizwan486 profile image
Rizwan Hasan Author

You can but it depends on the case. 😊