Syntax: JSON Serialize in PowerShell. • ID: #160 Code @{id=1; ok=$true} | ConvertTo-Json -Compress Notes You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests. ← Prev Next →