If you have data stored in a JavaScript object, you can convert that object to JSON and send it to the server. This way we can work with data as JavaScript objects without complicated parsing and translation. We can also convert any JSON received from the server into JavaScript objects. JSON is text, we can convert any JavaScript object to JSON and send JSON to the server. When exchanging data between the browser and the server, the data can only be text. JSON is a syntax for sending, receiving, and exchanging data. So for high-volume or special-purpose services, you'll want to use more efficient data formats than JSON.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |