I have a basic code. I want to clean up all the hard coding in this basic code and make it more efficient.
What has to be done?
1) Read a json which has arrays into separate template hash map for each type in the array
2) Without using any hard coding, use the template and compare a new json for new and missing fields.