Hi Ravi,
I'm not sure if I'm fully understanding your use-case this time, so I will advance some pointers:
A.
If you are looking to invoke DMN engine programmatically while being on the Kogito platform, you can use the Kogito API Incubation
B.
If you are looking for a way to manually handle the context from string unmarshalling to the DMN context,
you can use directly the Jackson unmarshaller, this will return a (jdk) Map of entry value pairs of the most common types, and not JSONObject
then you can wire the generic Map unmarshalled by Jackson (which will contain "baseLoanAmount"-450000, "transaction"-a Map of "insuranceAmount"-52000, etc)
and then you can use the internal DynamicDMNContextBuilder to build a DMNContext.
Alternatively, you can rely on the Kogito API Incubation mentioned above.
Hope these are helpful pointers, and don't hesitate to let us know more details if something is still unclear?
MM