Module adapter/date

Serializes Date instances.

import { stringify } from 'json-marshal';
import dateAdapter from 'json-marshal/adapter/date';

stringify(new Date(), { adapters: [dateAdapter()] });

Index

Functions