Skip to content

Commit 09bbabf

Browse files
Nanonidw33ble
authored andcommitted
docs: update readme
original site is now dead, encode should be decode, fix download link Upstream 7a8eaf7, 22760f3 and 56988fc
1 parent abf2bf5 commit 09bbabf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
rison
22
=====
33

4-
Rison mirror (http://mjtemplate.org/examples/rison.html)
4+
Rison mirror of now dead site (http://mjtemplate.org/examples/rison.html)
55

66

77
# Rison - Compact Data in URIs
@@ -16,7 +16,7 @@ You can skip straight to some examples, or read on for more background.
1616

1717
Downloads:
1818

19-
* [rison.js](../../dist/mjt-0.9.2/rison.js) includes a Javascript Rison encoder (based on [Douglas Crockford](http://json.org)'s [json.js](http://json.org/json.js)) and decoder (based on [Oliver Steele](http://osteele.com)'s [JSON for OpenLaszlo](http://osteele.com/sources/openlaszlo/json/)).
19+
* [rison.js](./js/rison.js) includes a Javascript Rison encoder (based on [Douglas Crockford](http://json.org)'s [json.js](http://json.org/json.js)) and decoder (based on [Oliver Steele](http://osteele.com)'s [JSON for OpenLaszlo](http://osteele.com/sources/openlaszlo/json/)).
2020
* [rison.py](http://freebase-python.googlecode.com/svn/trunk/freebase/rison.py) contains a decoder in Python.
2121
* [Tim Fletcher](http://tfletcher.com/dev/) has implemented [Rison in Ruby](http://rison.rubyforge.org/) including both encoder and decoder.
2222

@@ -49,7 +49,7 @@ rison.encode_array(["A", "B", {supportsObjects: true}]);
4949

5050
// Decode with: rison.decode, rison.decode_object, rison.decode_array
5151
// Example:
52-
rison.encode('(any:json,yes:!t)');
52+
rison.decode('(any:json,yes:!t)');
5353
// { any: 'json', yes: true }
5454
```
5555

0 commit comments

Comments
 (0)