Home » Java » java – Update test json messages after changing entity json-Exceptionshub

java – Update test json messages after changing entity json-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

Is there any tool that updates all the Json files when underlying Pojo (a java class that represents Json Message) is changed, i.e.., a property added/removed? We have created 50 variety of Json files for each Pojo. Pojos, which are java representation of the Json messages, are also more in the system. Json files I am referring are messages that we are using for Junit test cases. I know this can be addressed by writing a reflection API, but wondering if we have a tool readily available.

How to&Answers: