I am using already one validator (jayschema) which doesn't do casting. Now I 
found a nice  written one https://github.com/flatiron/revalidator which do 
casting, but is not aligned with the v4 draft.


Is there any validators which do
- v4 implementation
- casting
- compact implementation for use on the client too
- efficient
- well maintained


Best,
Oleg Slobodskoi

http://www.facebook.com/oleg.slobodskoi
https://www.xing.com/profile/Oleg_Slobodskoi
https://twitter.com/oleg008
https://github.com/kof

Am 13.11.2013 um 04:02 schrieb Alex Kocharin <[email protected]>:

> 
> It's called "JSON schema validation", and I've been looking for it too 
> recently.
> 
> There are a lot of modules to do this job, but they all have issues, so I 
> didn't find any really good one. Some of them are too strict, others are too 
> verbose, so casting manually doesn't look so bad after this.
> 
> 
> On Wednesday, November 13, 2013 4:40:22 AM UTC+4, Oleg Slobodskoi wrote:
> Hi everybody,
> 
> what are you using for casting of such data? I mean data which comes from url 
> query serialized to object doesn't has any more correct primitive data types 
> like numbers and booleans. I was doing casting manually in every route 
> handler, but this is annoying. I just wrote a module for this, because I 
> haven't found any, but probably I was looking for wrong keywords.
> 
> 
> Best,
> Oleg Slobodskoi 
> @oleg008
> 
> -- 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to