@@ -40,6 +40,7 @@ public JsonElement serialize(MatchItem t, Type type, JsonSerializationContext js
4040 jsonObject .add ("smartMatch" , jsc .serialize (matchItem .isSmartMatch ()));
4141 jsonObject .add ("issueName" , jsc .serialize (matchItem .getIssueName ()));
4242 jsonObject .add ("severity" , jsc .serialize (matchItem .getSeverity ()));
43+ jsonObject .add ("captureGroup" , jsc .serialize (matchItem .isCaptureGroup ()));
4344 jsonObject .add ("confidence" , jsc .serialize (matchItem .getConfidence ()));
4445 jsonObject .add ("notifyTypes" , jsc .serialize (matchItem .getNotifyTypes ()));
4546 jsonObject .add ("targetTools" , jsc .serialize (matchItem .getTargetTools ()));
@@ -71,6 +72,7 @@ public MatchItem deserialize(JsonElement je, Type type, JsonDeserializationConte
7172 if (jsonObject .has ("smartMatch" )) matchItem .setSmartMatch (jdc .deserialize (jsonObject .get ("smartMatch" ), Boolean .TYPE ));
7273 if (jsonObject .has ("issueName" )) matchItem .setIssueName (jdc .deserialize (jsonObject .get ("issueName" ), String .class ));
7374 if (jsonObject .has ("severity" )) matchItem .setSeverity (jdc .deserialize (jsonObject .get ("severity" ), Severity .class ));
75+ if (jsonObject .has ("captureGroup" )) matchItem .setCaptureGroup (jdc .deserialize (jsonObject .get ("captureGroup" ), Boolean .TYPE ));
7476 if (jsonObject .has ("confidence" )) matchItem .setConfidence (jdc .deserialize (jsonObject .get ("confidence" ), Confidence .class ));
7577 if (jsonObject .has ("notifyTypes" )) matchItem .setNotifyTypes (NotifyType .parseEnumSet (jsonObject .get ("notifyTypes" ).getAsJsonArray ().toString ()));
7678 if (jsonObject .has ("targetTools" )) matchItem .setTargetTools (TargetTool .parseEnumSet (jsonObject .get ("targetTools" ).getAsJsonArray ().toString ()));
0 commit comments