Private/Utils/EscapeForJSon.ps1
function EscapeForJSon { Param ( [Parameter(Mandatory)] [string]$JSONString ) $JSONString = $JSONString -replace "\\","\\" -replace '"','\"' return $JSONString } |
function EscapeForJSon { Param ( [Parameter(Mandatory)] [string]$JSONString ) $JSONString = $JSONString -replace "\\","\\" -replace '"','\"' return $JSONString } |