strum icon indicating copy to clipboard operation
strum copied to clipboard

Deserialise in camelCase mode

Open FrederickFrance opened this issue 3 years ago • 1 comments

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?

FrederickFrance avatar Mar 21 '22 17:03 FrederickFrance

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?

Peternator7 avatar Mar 26 '22 22:03 Peternator7