Is it possible to retrieve the parsed data?

34 views
Skip to first unread message

James Sanderson

unread,
Nov 4, 2016, 3:41:21 PM11/4/16
to Ruby JSON Schema Library
I'm wondering if I can retrieve the parsed data from this library somehow, for two reasons:
  • Otherwise, the JSON gets parsed twice, once by the validation and again to access the data
  • If I set defaults, the validator merges those in, and it would be convenient to get a copy of the resulting data w/ defaults inserted
Is there a way to do this?

Thanks,

zofrex
Reply all
Reply to author
Forward
0 new messages