Skip to content

Commit

Permalink
Issue #SB-26966 fix: QuestionSet linking to CSV error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayaprakash8887 authored and Jayaprakash8887 committed Sep 29, 2021
1 parent 1b9d797 commit a2df426
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.sunbird.common;

import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.lang3.StringUtils;
Expand All @@ -13,6 +14,7 @@ public class JsonUtils {
private static ObjectMapper mapper = new ObjectMapper();
static {
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.configure(JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, true);
}

public static String serialize(Object obj) throws Exception {
Expand Down

0 comments on commit a2df426

Please sign in to comment.