summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b387167..12d1af9 100644
--- a/README.md
+++ b/README.md
@@ -52,8 +52,8 @@ You can encode and parse with class objects:
```ruby
options_hash = {}
-json = FFI_Yajl::Encoder.encode( {"foo"=>["bar","baz"]} )
-hash = FFI_Yajl::Parser.parse( json )
+json = FFI_Yajl::Encoder.encode( {"foo"=>["bar","baz"]}, options_hash )
+hash = FFI_Yajl::Parser.parse( json, options_hash )
```
Or you can be more object oriented: