Skip to content

Files

Latest commit

 

History

History

bin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Usage:

    $ jsonbin [options] [property[=value]]

Options:

    --token [api-token] ... your jsonbin.org token
    --delete .............. delete a property
    --append .............. append/merge

  All options can also be abbreviated.

Examples:

  You can authenticate using two methods:

    $ jsonbin --token 1234-5678
    $ JSONBIN_TOKEN=1234-5678 jsonbin

  Using an environment variable means it can be in your private enviroment.

  GET all of the store:

    $ jsonbin
    > { … }

  Retrieve a deep property from `{ blog: urls: [ ... ] }`

    $ jsonbin blog.urls.0
    > "https://…"

  Delete a property:

    $ jsonbin --delete blog.urls.0
    > "https://" # returns deleted value

  Set a new property:

    $ jsonbin blog="{ url: … }"
    > { url: … } # returns new value

  Using JSON merge patch, you can remove properties using `null`:

    $ jsonbin blog="{ url: null }"
    > { … } # returns updated value

  Note that jsonbin will _try_ to detect a JavaScript object and convert it
  to JSON for you.

For more information see https://jsonbin.org