Modify Model Type and Resource Defintions persistance and access from String to JSON type for easy handling.
Change-Id: Icfe7e95abad715b0ccad16c681ed057d289a6229
Issue-ID: CCSDK-431
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
return jacksonObjectMapper().readValue(content, valueType)\r
}\r
\r
+ @JvmStatic\r
+ fun <T> readValue(node: JsonNode, valueType: Class<T>): T? {\r
+ return jacksonObjectMapper().treeToValue(node, valueType)\r
+ }\r
+\r
@JvmStatic\r
fun getContent(fileName: String): String {\r
return File(fileName).readText(Charsets.UTF_8)\r