Serializing an object to JSON

You’re looking for JSON.stringify().

Leave a Comment