duhastmich
V2EX  ›  Node.js

JSON Schema validator or mongoose?

  •  
  •   duhastmich · Feb 26, 2013 · 3825 views
    This topic created in 4892 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   ·   Solana   ·   1141 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 18:10 · PVG 02:10 · LAX 11:10 · JFK 14:10
    ♥ Do have faith in what you're doing.