a json parser written by cpp