阅读背景:

为什么powershell在转换JSON时给出的一行代码与双行代码的结果不同?

来源:互联网 

Overview

From a powershell 3 prompt,, I want to call a RESTful service, get some JSON, and pretty-print it. I discovered that if I convert the data to a powershell object, and then convert the powershell object back to json, I get back a nice pretty-printed string. However, if I combine the two conversions into a one-liner with a pipe I will get a different result.From a powershell 3 prompt,, I want




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: