MCPcopy Create free account
hub / github.com/parse-community/parse-server / JSONToDatabase

Function JSONToDatabase

src/Adapters/Storage/Mongo/MongoTransform.js:1296–1298  ·  view source on GitHub ↗
(json)

Source from the content-addressed store, hash-verified

1294
1295var DateCoder = {
1296 JSONToDatabase(json) {
1297 return new Date(json.iso);
1298 },
1299
1300 isValidJSON(value) {
1301 return typeof value === 'object' && value !== null && value.__type === 'Date';

Callers

nothing calls this directly

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…