JSON to APEX - A tool to generate APEX from JSON

This post helps you to create your APEX wrapper class for your JSON in matter of minutes. 

Note: I don't strongly recommend beginners or learners to use this tool. Try to learn how to create wrappers from the JSON.

Below are the couple of online based tools that helps 


Copy and paste your JSON body in the above links

1) JSON2apex - Allows you to give your own class name and downloads the apex class. This includes the unit test class.

2) Admin Booster - Allows you to give your own class name and generates the APEX code with unit test class. 

This will save time in building the whole wrapper class if the JSON structure is too complex. Just few changes needed to be done in the generated Wrapper class and all set ready to implement your code. 

Happy coding! 

Comments

Popular Posts