Add Code to parse json object.

1) Change parse string function to adopt to object parser.
2) Add object parser.