strum
strum copied to clipboard
Deserialise in camelCase mode
Hi all
I understand how to create a new type from an enum, I notice that strum allows me to serialize this new type in camelCase but I haven't found any way to deserialize this type in camelCase.
Does anyone have a solution?
Hello @FrederickFrance, deserializing should use the same case-style that serialization uses. See this test for an example. If that doesn't work, would you mind sharing some code to repro the issue?