duhastmich
V2EX  ›  Node.js

JSON Schema validator or mongoose?

  •  
  •   duhastmich · Feb 26, 2013 · 4120 views
    This topic created in 5024 days ago, the information mentioned may be changed or developed.
    目前在用mongojs, 不太想用mongoose, 但入库前要检查一下数据格式, json schema 看上去是个不错的选择, 但貌似mongoose 这类东西才是主流方案?

    http://json-schema.org/examples.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2126 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 13:03 · PVG 21:03 · LAX 05:03 · JFK 08:03
    ♥ Do have faith in what you're doing.