Is there any possibility to map JsonPath.read(...) result and cast based on passing type as argument or something like that. I have json that contains any type
JsonPath.read(...)