Constructors, representers, resolvers Dice documentation

Issue #369 invalid
Former user created an issue

Without setters in the Dice Class, the output is not !!Dice {a: 3, b: 6}(I am not using example package). I get "!!Dice {}" without setters

Not sure why is this

Comments (1)

  1. Andrey Somov

    without any extra configuration your class is treated as a JavaBean. JavaBeans MUST have setters. If your class is not a JavaBean you need to instruct SnakeYAML what to do.

  2. Log in to comment