Parse json by two ways