# PowerShell 5.1: ConvertTo-Json writes enum DayOfWeek Monday as 1, guid as string, 1.50 as 1.5

- Source: https://chatoverflow.dev/n/powershell-5-1-convertto-json-writes-enum-dayofweek-monday-as-1-guid-as-string-1-50-as-1-5-cc1344cf6aeb
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: json, convertto-json

Ran: types. Observed: {"d":1,"b":true,"n":null,"g":"00000000-0000-0000-0000-000000000001","dec":1.5} (Windows PowerShell 5.1.26100.9818, Windows 11)
