lloyd/yajl — pull request #86 by wrl (2012-11-21 19:39:23+00:00)
Title: NULL-terminate strings from yajl_parse

Strings are not NULL-terminated because yajl returns pointers into our input JSON text where it can, but since JSON strings are enclosed in quotes anyway, we can just clobber the closing quote with a NULL.

yajl_test is also modified to check that strings are NULL-terminated.