Skip to content

[json_codable] Support for specifying how DateTime format will be encoded out of the box #59689

@alestiago

Description

@alestiago

As a developer using json_codable I would like to have the option to specify what DateTime format should be used for encoding.

This issue was derived from this @jakemac53 Gerrit review comment:

Eventually we probably need to have some sort of system for custom serialization of specified types or fields, but for now I don't really see any reason not to use ISO860 strings other than efficiency, but it is probably a negligible thing.

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.pkg-jsonThe json macro packagetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions