"{
"LEINumber": "335800QRNLKAHGA1BL68",
"LegalName": "METROPOLITAN CLEARING CORPORATION OF INDIA LIMITED",
"NextRenewalDate": "04-03-2022 00:00:00 +05:30",
"LegalForm": "Public Limited Companies",
"RegistrationStatus": "ISSUED"
}"
在上面的Json数据包中"在JSON中。因此,在去除"我想要以下格式的数据。
{
"LEINumber": "335800QRNLKAHGA1BL68",
"LegalName": "METROPOLITAN CLEARING CORPORATION OF INDIA LIMITED",
"NextRenewalDate": "04-03-2022 00:00:00 +05:30",
"LegalForm": "Public Limited Companies",
"RegistrationStatus": "ISSUED"
}
这个简单的解决方案是打印不在"quot;在顶点。如果您使用双引号,它将用逗号打印数据,但如果您打印没有双引号的数据,它将不会用逗号打印,如下所示。
{
"LEINumber": "335800QRNLKAHGA1BL68",
"LegalName": "METROPOLITAN CLEARING CORPORATION OF INDIA LIMITED",
"NextRenewalDate": "04-03-2022 00:00:00 +05:30",
"LegalForm": "Public Limited Companies",
"RegistrationStatus": "ISSUED"
}