Skip to content

Commit

Permalink
Update the README to mention MultiJson. refs #106.
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Mar 27, 2013
1 parent 4f07fce commit f251345
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,10 @@ p_queue = QC::Queue.new("priority_queue")
p_queue.enqueue("Kernel.puts", ["hello", "world"])
```

QueueClassic uses [OkJson](https://github.com/kr/okjson) to encode the job's payload.
QueueClassic uses [MultiJSON](https://github.com/intridea/multi_json) to encode the job's payload.

```ruby
# OK
OkJson.encode({"test" => "test"})

# NOT OK
OkJson.encode({:test => "test"})
MultiJson.dump({"test" => "test"})
```

### Working Jobs
Expand Down

0 comments on commit f251345

Please sign in to comment.