Json file to powershell and back to json file
问题 I am trying to manipulate json file data in powershell and write it back to the file. Even before the manipulation, when I just read from the file, convert it to Json object in powershell and write it back to the file, some characters are being replaced by some codes. Following is my code: $jsonFileData = Get-Content $jsonFileLocation $jsonObject = $jsonFileData | ConvertFrom-Json ... (Modify jsonObject) # Commented out this code to write back the same object $jsonFileDataToWrite =