duhastmich
V2EX  ›  Node.js

JSON Schema validator or mongoose?

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

    http://json-schema.org/examples.html
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3408 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 04:59 · PVG 12:59 · LAX 21:59 · JFK 00:59
    ♥ Do have faith in what you're doing.