Convert JSON to Apex
This tool will convert a JSON string into an Apex class, paste/enter your JSON string into the text area below and click Convert JSON To Apex when you are ready.
The apex code will be generated in the black box below(Syntax highlighter), you will be prompted with an error message if one is found in the JSON string.
By default the Apex class is named SampleClass, this can be edited below. You can also try our demo JSON Payload that is a sample Salesforce JSON payload.
The aim of this tool is to reduce the manual steps involved when mapping JSON payloads.
1//Apex Generated Code will go here