Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
YAML.dump ignores Boolean values #340
Then run a Yaml.dump on the V1Deployment, the result equals:
The value of stdin is missing in the dumped yaml, although it is read in correctly in the V1Deployment object.
Snakeyaml uses getter methods to determine which fields are readable. It cannot find a correct getter for all Boolean fields, and therefore it will not serialize this field.