in order to deal with json string,add a  function  which is writtern by Rara's friend. Thanks to Rara!