对于缺乏术语等,深表歉意。
我想改变一行,像这样的一行:
{"GameDataObjects":[{"$type":"Game.GameData.AttributeGameData, Assembly-CSharp","DebugName":"Constitution","ID":"72712dca-8f95-42ef-bca1-be2e99f69de3","Components":[{"$type":"Game.GameData.AttributeComponent, Assembly-CSharp","Type" ... ...
让它看起来像这样:
{
"GameDataObjects": [
{
"$type": "Game.GameData.GlobalGameSettingsGameData, Assembly-CSharp",
"DebugName": "GlobalGameSettings",
"ID": "eddfc852-ccb9-4884-b901-e77e8ca31b48",
"Components": [
{
"$type": "Game.GameData.CharacterStatsSettingsComponent, Assembly-CSharp",
"BasePlayerLevelCap": 20,
"MaxCharacterLevel": 30,
"AttributeAverage": 10,
"MaxPerceptionDistance": 7,
"MaxStealthRadius": 4,
"DefaultWalkSpeed": 2,
"DefaultRunSpeed": 4,
"DefaultAnimalCompanionWalkSpeed": 2,
"DefaultAnimalCompanionRunSpeed": 5.5,
"CombatHealthRechargeRate": 1,
"NormalHealthRechargeRate": 10,
"HealthRechargeDelay": 3,
"ModalRecoveryTime": 3,
"HitMultiplier": 1,
答案1
您需要在 NotePad++ 中安装 JSON Viewer 插件。插件 > 插件管理器 > JSON Viewer > 安装。插件安装后,选择要格式化的文本,然后单击插件 > JSON Viewer > 格式化 JSON。
检查最新版本的 Notepad++ 以获取所有更新和最新的插件。