更新时间:2021-12-18 04:42:21
您总是可以使用powershell的 Convert-FromJson
之类的东西来创建json对象,但是无法告诉随机任务将此变量值视为对象,而不是原始字符串".您必须自己解析.
You could always use something like powershell's Convert-FromJson
to create a json object, but there's no way to tell a random task "treat this variable value as an object, rather than a raw string". You'll have to parse it yourself.