q data parsing