Property that contains symbol creates an invalid property
See original GitHub issueProperty that contains a special character e.g. "property?": false
, results in an invalid class property that contains a symbol.
[Newtonsoft.Json.JsonProperty("can_rent?"]
public bool Can_rent? { get; set; }
Perhaps invalid symbols could be removed or replaced with a safe character?
public bool Can_rent_
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to access object property with invalid characters
As you have noticed, your property contains an invalid character and therefore can't be accessed via dot notation. The solution, then, is to ......
Read more >Invalid property name
The name you entered for the property is invalid. That is, it is already in use, reserved for use by the system, or...
Read more >Property Name contains invalid characters - Android
It looks like the property name is “$change”, the dollar sign character is not allowed in the property name. What does the class...
Read more >Error 3271 - Invalid Property Value using DAO.Database ...
Hello all. I have always used Parameterized QueryDef procedures to insert/update tables with a DAO.
Read more >file name property is not valid. The file name is a device or ...
The file name is a device or contains invalid characters. End Error. The sample file name I want to use as my data...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@RicoSuter Thanks! Re: “why” - completely agree, but it’s out of my control!
This would need to be fixed in the OperationNameGenerators