![]() ![]() The second argument is a really helpful way of either modifying or specifying only the properties that we want to store, save or send to a server. JSON.stringify () mengambil objek JavaScript dan mengubahnya menjadi string JSON. That's because there is no intended modification or filtering of the object. JSON.parse () mengambil string JSON dan mengubahnya menjadi objek JavaScript. Now you understand why null is usually passed as the second argument. Using an array replacer won't do anything.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |