import com.fasterxml.jackson.databind.annotation.JsonSerialize;\r
\r
import org.openecomp.mso.logger.MsoLogger;\r
-//import org.codehaus.jackson.map.SerializationConfig.Feature;\r
+//import com.fasterxml.jackson.map.SerializationFeature;\r
\r
\r
/**\r
public JSONObject toJsonObject(){\r
\r
ObjectMapper mapper = new ObjectMapper();\r
- // mapper.configure(SerializationConfig.Feature.WRAP_ROOT_VALUE, true);\r
+ // mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, true);\r
//mapper.enable(SerializationFeature.WRAP_ROOT_VALUE);\r
\r
mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, true);\r
- // mapper.enable(org.codehaus.jackson.map.DeserializationConfig.Feature.UNWRAP_ROOT_VALUE);\r
+ // mapper.enable(com.fasterxml.jackson.map.DeserializationFeature.UNWRAP_ROOT_VALUE);\r
JSONObject json = new JSONObject();\r
try {\r
json = new JSONObject(mapper.writeValueAsString(this));\r