JSON 插入脚本 - 在 IDE 中查看,文件扩展名

问题描述

我有一个带有 JSON 插入脚本的文件

db.DEVICE.insert({ "_id" : ObjectId("5fd9b5ca70993309e815a0"),"deviceName" : "rSggPro","displayName" : "Tom","blocked" : true,"lastModifiedTimestamp" : NumberLong(" 1608103370005"),"osType" : "Mac OS X","osversion": "10.16(32 bit)","deviceCreatedDate": "1608103381804","deviceUUID": "f226da006d64fe1fuser/Pathe",jake/upload/f870754baf6da006d6fe1f4ae5241ede","restoreEnabled": false,"decoupled": false,"clientVersion": "2.3.6.5","deleted": false,"destCollection": "BACKUP_2","@tomuserName" aa.com","userId" : ObjectId("5fc649e6c33dcf22eb1"),"deviceType": "BACKUP","remoteWipeEnabled" : false,"_class" : "com.SS.domain.Device" });

有很多这样的行。我可以将它们存储在 Eclipse 和其他 IDE 的格式中并为它们着色良好的文件扩展名?如果我存储为 .json,它们会显示错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)