1

The following statement

'[{"A":123}, {"B":456}]' | ConvertFrom-Json

returns

  A
  -
123

The second one is missing?

ca9163d9
  • 24,345
  • 44
  • 175
  • 352

1 Answers1

2

Not missing, just not displayed by default.

PS C:\> '[{"A":123}, {"B":456}]' | ConvertFrom-Json | Format-List *

A : 123

B : 456
PS C:\> '[{"A":123}, {"B":456}]' | ConvertFrom-Json | Select-Object -Property *


Count          : 2
Length         : 2
LongLength     : 2
Rank           : 1
SyncRoot       : {@{A=123}, @{B=456}}
IsReadOnly     : False
IsFixedSize    : True
IsSynchronized : False
vhoang
  • 1,339
  • 1
  • 6
  • 9