Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: JSON WebService Description with PERl

by tobyink (Canon)
on May 08, 2012 at 14:34 UTC ( #969476=note: print w/replies, xml ) Need Help??

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'
  • Comment on Re: JSON WebService Description with PERl

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?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://969476]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-08-11 15:13 GMT
Find Nodes?
    Voting Booth?

    No recent polls found