JSON2Apex – Convert JSON Into Apex Class

by Sudipta Deb | Oct 17, 2014 | Apex, JSON, learn salesforce | 1 comment


JSON2Apex is an online tool to convert JSON into Apex class. The URL is: JSON2Apex
This tool is hosted in Heroku.

This app allows a user to paste a JSON String, and then this app will generate strongly typed apex code that can deserialize it. This entire app is written in Java using Play framework.

A special thanks to superfell and metadaddy for providing this amazing tool.
Guys, please use this one while working with JSON and Apex code.

Written by

Related Posts

New Apex Method | Extracting Picklist Values Based on Record Type Inside Apex

New Apex Method | Extracting Picklist Values Based on Record Type Inside Apex

For years, Salesforce developers have faced a common challenge: programmatically retrieving picklist values that are specific to a certain Record Type directly within Apex. The “solutions” often involved either complex SOQL queries against metadata, relying on the UI API (with its associated callout limits and serialization overhead), or maintaining clunky custom metadata/settings.

Good news, Technical Potpourri readers! The Salesforce Spring ’26 release is bringing a game-changer that will significantly simplify your Apex code and improve performance: native Apex methods to filter picklist values by Record Type!

read more...
Apex Cursor and Its Advantages Over Batch Processing

Apex Cursor and Its Advantages Over Batch Processing

Struggling with large datasets and SOQL governor limits in Salesforce? In this video, I will dive deep into Apex Cursors, the powerful new feature that revolutionizes how we process millions of records.

Apex Cursors allow developers to navigate through query results in manageable chunks within a single transaction or across Queueable jobs. In this video, I will show you the correct way to implement Apex Cursor and also when this is an exception, how to handle that and perform retry.

read more...
Perform Inline Edit And Sort Inside Flow Data Table

Perform Inline Edit And Sort Inside Flow Data Table

I’ll show you exactly how to use the new data table component features from Salesforce’s Spring 26 release. Learn how to implement inline editing and column sorting directly within your screenflow, making your workflow automation more efficient. This update offers significant enhancements for any salesforce developer working with flowbuilder.

Also I have shown how to save the inline edit changes properly in the salesforce.

read more...

1 Comment

Leave a Reply