brianmario/mysql2 — pull request #465 by simi (2013-12-19 00:13:48+00:00)
Title: Result as json option.

Requested in #464.

There's no C api for ruby stdlib, so I call `JSON` via `rb_funcall`.

This is very naive implementation. Any hints how to improve this are welcome!

### Ideas
* merge `asArray` and `asJson` into one option.