You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deserialization would be easier if we could define and use general key to property mapping rules.
Basically like INamingConvention but in reverse way.
For example deserializing:
person:
full name: Bob
age: 15
eats open-mouthed: yes
into
class Person
{
public string FullName { get; set; }
public int Age { get; set; }
public bool EatsOpenMouthed { get; set; }
}
would be much easier if we could define and use general mapping like:
Key -> PascalCase
Currently one must FOR ALL properties either:
use [YamlAlias]
hardcode property name and use it in INamingConvention
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Deserialziation: no way to specify general key to property mapping
Deserialization: no way to specify general key to property mapping
Oct 22, 2014
I'm sorry I was unable to answer this question in a timely fashion. As you have certainly moved on to other things, I will close this issue, but feel free to reopen it if necessary.
Deserialization would be easier if we could define and use general key to property mapping rules.
Basically like INamingConvention but in reverse way.
For example deserializing:
into
would be much easier if we could define and use general mapping like:
Key -> PascalCase
Currently one must FOR ALL properties either:
The text was updated successfully, but these errors were encountered: