Perl Monk, Perl Meditation | |
PerlMonks |
Re: JSON WebService Description with PERlby tobyink (Canon) |
on May 08, 2012 at 14:34 UTC ( [id://969476]=note: print w/replies, xml ) | Need Help?? |
FYI, I maintain a Perl json-schema implementation. It's on CPAN as JSON::Schema and is fairly interoperable with the Javascript reference implementation. Yes, json-schema is still a draft and it's lost some of the momentum it once had, but it is still progressing, albeit slowly. JSON-Service is itself based on json-schema. JSON::Schema does not support the CLI-generation feature you describe, and I can't see how it could, as json-schema doesn't do web service descriptions. It describes data structures, enabling them to be validated, and not much more.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom
|
|