Skip to content

Add support for serializing boolean/Boolean as number (0 or 1) #1480

@jwilmoth

Description

@jwilmoth

Converting some older data formats means serializing & deserializing Java's boolean fields into 1 and 0 numbers as well as "T" and "F" characters. This post (http://stackoverflow.com/questions/26827343/jackson-serialize-boolean-to-1-0-instead-of-true-false) describes a custom serializer, but I believe there's value in including a couple additional serializers with the library itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions