duhastmich
V2EX  ›  Node.js

JSON Schema validator or mongoose?

  •  
  •   duhastmich · Feb 26, 2013 · 3729 views
    This topic created in 4838 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   ·   1355 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:54 · PVG 07:54 · LAX 16:54 · JFK 19:54
    ♥ Do have faith in what you're doing.