V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
duhastmich
V2EX  ›  Node.js

JSON Schema validator or mongoose?

  •  
  •   duhastmich · 2013-02-26 16:30:49 +08:00 · 2997 次点击
    这是一个创建于 4075 天前的主题,其中的信息可能已经有所发展或是发生改变。
    目前在用mongojs, 不太想用mongoose, 但入库前要检查一下数据格式, json schema 看上去是个不错的选择, 但貌似mongoose 这类东西才是主流方案?

    http://json-schema.org/examples.html
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2849 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:36 · PVG 23:36 · LAX 08:36 · JFK 11:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.