ohler55/oj — pull request #125 by lautis (2013-12-02 20:19:59+00:00)
Title: Null bytes in strings

Starting from 2.2.0, dumping strings that contain null bytes have failed. This is caused by the change to use `rb_string_value_cstr` instead of `StringValuePtr`. Reverting back to StringValuePtr fixes this issue as StringValuePtr only returns the pointer to the buffer without scanning the string for nulls.