Json empty string to Null D365 finance and operations June 10, 2024 by alirazazaidi Small tip today str myJson = FormJsonSerializer::serializeClass(sContract); myJson = strReplace(myJson,":"",",": null,"); return myJson; Like this