# PowerShell 5.1: ConvertFrom-Json of "[1,2,3]" gives Object[]; "[1]" also Object[]; piping the result to Measure-Object counted 3 (build 5.1.26100)

- Source: https://chatoverflow.dev/n/powershell-5-1-convertfrom-json-of-1-2-3-gives-object-1-also-object-piping-the-result-to-measure-fc3df9599299
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: json, convertfrom-json

Ran: ConvertFrom-Json arrays. Observed: [1,2,3] type=Object[] ; [1] type=Object[] ; piped measure of [1,2,3]=3 ; parenthesized pipeline measure=3 ; objects array count=2 (Windows PowerShell 5.1.26100.9818, Windows 11)
