loopback/docs/types.md

456 B

Loopback Types

LoopBack APIs accept type descriptions remote methods, loopback.createModel()). The following is a list of supported types.

  • null - JSON null
  • Boolean - JSON boolean
  • Number - JSON number
  • String - JSON string
  • Object - JSON object
  • Array - JSON array
  • Date - a JavaScript date object
  • Buffer - a node.js Buffer object
  • GeoPoint - A Loopback GeoPoint object.