This JSON file represents our class structures and relations with each other. DepIn can read this file and generates instances of the classes that described there.
DepIn depIn =DepIn.JsonContext("src/test/resources/classmap.json");// Creates Cat object, Dog object, CatNDog object// and injects Cat and Dog object into CatNDog objectCatNDog catndog =depIn.getInstance("@catndog");// Creates a cat instance with defined parameters in json fileCat tekir =depIn.getInstance("@mycat");