On Tue, 15 Apr 2014 06:42:57 GMT, Nikolay Tolstokulakov wrote:

I suppose your OS is Linux, and you have problem with null pointer. It is not vibe problem, please refer to

http://forum.dlang.org/thread/lg18lj$31bl$1@digitalmars.com

in short you should add:

import etc.linux.memoryerror;
registerMemoryErrorHandler();

I wouldn't recommend using it in production code, this module is not widely advertised for a reason : hacky implementation which is not strictly POSIX-compliant. It is helpful for debug builds but to fix actual issue I'd recommend to find origin of null dereference and fix that instead. In general I don't think JSON module should create a null dereference within any normal workflow and if it happens, it should be filed as a bug.