Not sure what's causing this, as the tests shown in the documentation show this should be possible   However, my other enum without spaces seems to work fine  I'm using .NET 5.0, System.Text.Json 6.0 (from System.Net.Http.Json)