guyboertje/jrjackson — pull request #26 by colinsurprenant (2014-06-10 17:27:59+00:00)
Title: Raw.generate for ArrayList too

`JrJackson::Json.dump` should use `JrJackson::Raw.generate` for `Java::JavaUtil::ArrayList`.

I also included tests for all base object support in `JrJackson::Json.dump`.

Before applying this fix, calling `dump` on `ArrayList` would return `to.s` of the `ArrayList`:
```ruby
JrJackson::Json.dump(Java::JavaUtil::ArrayList.new(["foo", 1])) #=> "[foo, 1]"
```
but what we want is ` "[\"foo\", 1]"`.