A Jacksonville Sheriff’s Office prostitution investigation led to the arrest of 29 people, the agency announced Thursday.