A simple JSON scanner in C.