Table of contents
Install
Plugin name: POJO to JSON
use
We select an entity class, right-click the mouse, and select as shown in the figure
Paste the generated json
In this way, the test data is generated. We can use to test excuses, fastjson etc.
But note that if you use fastjson conversion, we must remove the spaces that IDEA automatically adds for us:
ctrl+f+r quick replacement: