Simple function which takes a JSON-formatted object and returns that object with proper datatypes
Homepage Repository npm Download
npm install json-to-datatype@1.1.5
Simple function which takes a JSON object or JSON-formatted string and returns an object with sensible datatypes.
Includes type definitions.
npm install json-to-datatype
Javascript
const jsonToDatatype = require('json-to-datatype').jsonToDatatype;
Typescript
import { jsonToDatatype } from 'json-to-datatype';