Re: [yamlbeans] Custom Serialized Name

44 views
Skip to first unread message
Message has been deleted

Nate

unread,
Mar 12, 2017, 4:25:14 PM3/12/17
to yamlbea...@googlegroups.com
I just committed a change that replaces removes characters. So you would use a field named "spellclass".



On Sun, Mar 12, 2017 at 8:29 PM, MrCodeGuy <mrcode...@gmail.com> wrote:
I have a file, and no, before you ask, I can not change the name of the variables. Too much of a pain considering the text to be deserialized is user input. The variable name is "spell-class" or something like that. I can't have a '-' in my variable name. How can I make "spell-class" deserialize to "spellClass"?

--
--
You received this message because you are subscribed to the "yamlbeans-users" group:
http://groups.google.com/group/yamlbeans-users

---
You received this message because you are subscribed to the Google Groups "yamlbeans-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yamlbeans-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages