String ssn = source.getSourceFactory().getSSN();
if (!Utils.isEmpty(ssn)) {
String escaped = StringEscapeUtils.escapeJson(ssn); // escape double quote chars
jsonString.append(JSON_SOURCE_SSN_LABEL).append(ATTR_SEP).append(Utils.quote(escaped)).append(ATTR_JSON);
}
<BUG>jsonString.append(JSON_SOURCE_FQN_LABEL).append(ATTR_SEP).append(Utils.quote(source.getFQName()));
</BUG>
if (!Utils.isEmpty(source.getUrl())) {
jsonString.append(ATTR_JSON);
String escaped = StringEscapeUtils.escapeJson(source.getUrl()); // escape double quote chars

String ssn = source.getSourceFactory().getSSN();
if (!Utils.isEmpty(ssn)) {
String escaped = StringEscapeUtils.escapeJson(ssn); // escape double quote chars
jsonString.append(JSON_SOURCE_SSN_LABEL).append(ATTR_SEP).append(Utils.quote(escaped)).append(ATTR_JSON);
}
jsonString.append(JSON_SOURCE_FQN_LABEL).append(ATTR_SEP).append(Utils.quote(StringEscapeUtils.escapeJson(source.getFQName())));
if (!Utils.isEmpty(source.getUrl())) {
jsonString.append(ATTR_JSON);
String escaped = StringEscapeUtils.escapeJson(source.getUrl()); // escape double quote chars
