Callback API
The signature is stringify(records, [options], callback)
.
The callback example receives an array and a callback function. The input is serialised into a string unless an error occurred.
Run this example with the command node samples/api.callback.js
.