1, we all know that Java has GsonFormat json formatted data in kotlin but also a plug-in tool has json formatted data that is JsonToKotlinClass
AS with the shortcut Ctrl + Alt + S to find and click on plugins ----> Browse Repositories -----> Search JsonToKotlinClass and install, restart the AS After installation,
For more information please refer to https://github.com/wuseal/JsonToKotlinClass
Reproduced in: https: //www.jianshu.com/p/ddbd909cf1ca