1

The following statement

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

returns

  A
  -
123

The second one is missing?

ca9163d9
  • 27,283
  • 64
  • 210
  • 413

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,349
  • 1
  • 8
  • 9