How can I add a value to a set<>?

So in my code I have a class which got an attribute with type of set<>.

And when I do my request, I can’t find the way to a give a value to that.
So if it was a string, I’d have to write “something”, if it was a number, then 1 for example, but what about if I want to give a value to a set?

Try using square brackets. In JSON you show that a property is an array with those.

For strings, numbers, and bools:

"category": [
  "hot",
  "cold",
  "room-temp"
]

For objects:

"category": [
  {
    "type": "hot",
    "order": 0
  },
  {
    "type": "cold",
    "order": 1,
  },
  {
    "type": "room-temp",
    "order": 2
  }
]