Skip to content

Serializing a builder that has a default value, but doesn't override it, creates json without that value. #44

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. define message with a field with default value.
2. populate a builder of that message, but don't set that field.
3. observe that json doesn't contain default value.

What is the expected output? What do you see instead?
should contain that field, but with default value set.


What version of the product are you using? On what operating system?
version 1.2, on a mac.

Please provide any additional information below.

Original issue reported on code.google.com by storsv...@comoyo.com on 25 Oct 2012 at 2:57

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions