![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
json - return the text,result and url of a yubnub command in a json object, with optional callback
SYNOPSIS
json -cmd [YUBNUB COMMAND AND ARGUMENTS] -callback [OPTIONAL CALLBACK]
EXAMPLES
json -cmd url gim porsche
will return :
{"cmd":"url gim porsche","data":"http://images.google.com/images?q=porsche","url":"http://yubnub.org/parser/url?command=gim+porsche"}
and
json -cmd url gim porsche -callback play
will return :
play({"cmd":"url gim porsche","data":"http://images.google.com/images?q=porsche","url":"http://yubnub.org/parser/url?command=gim+porsche"})
DESCRIPTION
this command should allow web developpers to use Yubnub inside their webpages as
json allows for cross-site information transmission.
the callback parameter is optional.
NOTES
This command was made using the yubnub2json script created by Stephen Paul Weber.
AUTHOR
Yann Perrin (see http://yann.perrin.googlepages.com for contact info)