Minimal function suitable for passing to JSON.parse to revive common date-time strings into Date objects
npm install json-date-parserImplementation is cribbed straight from: json.date-extensions.
Differences:
* Instead of polluting the core JSON object, it defines a completely separate function.
* TypeScript type information is included.
npm install --save json-date-parser
``ts
import { jsonDateParser } from "json-date-parser"
// Call standard JSON parser but use jsonDateParser as a "reviver"
var parsedStuff = JSON.parse(stringOfJson, jsonDateParser);
``