Groups
Groups
Sign in
Groups
Groups
SnakeYAML
Conversations
About
Send feedback
Help
camelCase in JavaBean vs. underscores in yaml
714 views
Skip to first unread message
stephen friedrich
unread,
Sep 9, 2010, 8:42:57 PM
9/9/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SnakeYAML
I am trying to read a YAML file generated by ruby.
---
tasks:
- remaining_effort:
created_at: 2010-08-20 21:23:25 Z
I already have a bean on the Java side:
public class TaskDto {
Integer remainingEffort;
LocalDateTime createdAt;
Can I make SnakeYAML map from camelCase to underscore notation and
vice versa?
Currently I am (correctly) getting an exception
Unable to find property 'remaining_effort' on class:
de.fortis.weblog.dtos.TaskDto
Andrey
unread,
Sep 10, 2010, 5:29:15 AM
9/10/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SnakeYAML
Can you please create an issue ?
This feature requires quite some discussion, it is better to keep
track of it.
Reply all
Reply to author
Forward
0 new messages