json-field-check
zero dependents, check illegal json field such as Set,Map,Function etc.
Install
npm install json-field-check
Usage
// ts
import jsonFieldCheck from 'json-field-check'
// commonjs
const jsonFieldCheck = require('json-field-check').default
jsonFieldCheck(targetObject)