如何在JSON中插入长字符串

时间:2019-07-03 16:59:53

标签: arrays json

嗨,我是JSON的新手,我正为这个错误未预期的结尾而苦苦挣扎-


   "variables": {
 "excPaths" : "%windir%\\Security\\Database\\*.chk;%windir%\\Security\\Database\\*.cmtx;%windir%\\Security\\Database\\*.csv;%windir%\\Security\\Database\\*.edb;
 %windir%\\Security\\Database\\*.jrs;%windir%\\Security\\Database\\*.log;%windir%\\Security\\Database\\*.sdb;
 %windir%\\Security\\Database\\*.xml;%windir%\\SoftwareDistribution\\Datastore\\Datastore.edb;%windir%\\SoftwareDistribution\\Datastore\\Logs\\edb.chk;
 %windir%\\SoftwareDistribution\\Datastore\\Logs\\edb*.jrs;%windir%\\SoftwareDistribution\\Datastore\\Logs\\edb*.log;
 %windir%\\SoftwareDistribution\\Datastore\\Logs\\tmp.edb;%windir%\\System32\\GroupPolicy\\Machine\\Registry.pol;%windir%\\System32\\GroupPolicy\\User\\Registry.pol;
 %SystemRoot%\\IS Temporary Compressed Files;%SystemDrive%\\inetpub\\temp\\IIS Temporary Compressed Files;%SystemDrive%\\inetpub\\temp\\ASP Compiled Templates;
 %systemDrive%\\inetpub\\logs;%systemDrive%\\inetpub\\wwwroot;F:\\Program Files\\Microsoft Configuration Manager\\Install.map;
 F:\\Program Files\\Microsoft Configuration Manager\\Logs;F:\\Program Files\\Microsoft Configuration Manager\\MP\\OUTBOXES;
 F:\\Program Files\\SMS\\MP\\OUTBOXES;F:\\Program Files\\SMS_CCM\\Logs;
 F:\\Program Files\\SMS_CCM\\ServiceData;F:\\Program Files\\Microsoft Configuration Manager\\cd.latest;
 F:\\Program Files\\Microsoft Configuration Manager\\EasySetupPayload;F:\\Program Files\\Microsoft Configuration Manager\\AdminUIContentPayload;
 F:\\Program Files\\Microsoft Configuration Manager\\AdminUIContentStaging;F:\\Program Files\\Microsoft Configuration Manager\\CMUStaging;
 F:\\Program Files\\Microsoft Configuration Manager\\CMUClient;F:\\Program Files\\Microsoft Configuration Manager\\PilotingUpgrade;
 F:\\Program Files\\Microsoft Configuration Manager\\RLAStaging;F:\\Program Files\\Microsoft Configuration Manager\\CMProviderLog;
 F:\\Program Files\\Microsoft Configuration Manager\\ISVTemp",
 "excExt" : ".chk;.cmtx;.csv;.edb;.jrs;.log;.sdb;.xml",
 "excProc" : "Smssqlbbkup.exe;Cmupdate.exe;Sitecomp.exe;Smsexec.exe;Smswriter.exe;Ccmexec.exe;w3wp.exe;php-cgi.exe"
   },

我确信此错误是由于字符串太长所致。任何帮助或建议将不胜感激。

如果您需要更多信息,请告诉我

非常感谢,

0 个答案:

没有答案