Serializes Date instances.
import { stringify } from 'json-marshal';import dateAdapter from 'json-marshal/adapter/date';stringify(new Date(), { adapters: [dateAdapter()] }); Copy
import { stringify } from 'json-marshal';import dateAdapter from 'json-marshal/adapter/date';stringify(new Date(), { adapters: [dateAdapter()] });
Serializes Date instances.