I'm calling an API using Akka-HTTP and Json4s, but the question could apply for any HTTP client/JSON parser. The API returns a short collection of items, should I use Seq or Set when parsing a response? Due to the small size of the collection, performance is not really a concern. From a logical/readability perspective Set makes more sense to me since the collections are unordered, and should have no duplicates. However, I usually see people use collections.
Just as an example, the object I would be deserializing is:
case class(name: String, tags: Seq[String], filters: Seq[Filter])