Assesment wanted for Working with JSON - Superhero Project


Can you please check this code and let me know if it is okay to do it this way.
The code works but i deviated from the original method as shown in

Please do check my code and give me a valuable feedback. Thanks.

@Harshit_Badolla looks like a good approach — well done!