Check for NULL character, not for NULL pointer
Added jsonpp C++ wrapper for chckJson