The protagonist was the widowed Sheriff Andy Taylor. He had a shrewd mind hidden behind a good-old-boy smile. That was his secret weapon. The antagonists always underestimated him. His role was that of caretaker to a town full of people too innocent to protect themselves. His weakness was that he was too nice, bordering on enabling.
I doubt storytelling will ever return to that level of innocence, but the world could use a little country comfort these days.