Created by: mkarlesky
strcmp()
is platform dependent and its handling of null pointers is undefined.
In the event of memory problems with the original JSON string being parsed, bad pointers can be erroneously processed in string comparison (or worse) among StringTraits. These guards can help parsing gracefully fail in bad memory edge cases.