class Deserializer extends JsonDeserializer<ParamValue> {

    @Override
    public ParamValue deserialize(JsonParser jsonParser, DeserializationContext ctxt) throws IOException {<FILL_FUNCTION_BODY>}

  }

      ObjectCodec oc = jsonParser.getCodec();
      JsonNode node = oc.readTree(jsonParser);
      ParamValue arrayOrString;
      if (node.isArray()) {
        List<String> elements = new ArrayList<>();
        node.elements().forEachRemaining(n -> elements.add(n.asText()));
        arrayOrString = new ParamValue(elements);
      } else {
        arrayOrString = new ParamValue(node.asText());
      }
      return arrayOrString;
    
<no_super_class>