http://qs1969.pair.com?node_id=969476


in reply to JSON WebService Description with PERl

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'

Replies are listed 'Best First'.
Re^2: JSON WebService Description with PERl
by several (Acolyte) on May 09, 2012 at 06:18 UTC
    iirc. which is where JSON-Service is going to have JSD (JSON Service Description) in order to generate clients from?