镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add an improved JSON encoder that supports more types #99

Description

@llucax

It is pretty common to need support for encoding datetimes or enums when encoding JSON, but this is not supported by the built-in JSON encoder.

It would be useful to provide an enhanced encoder, based on the work done for the assets API.

Originally posted by @llucax in frequenz-floss/frequenz-client-assets-python#38 (comment)

Code: https://github.com/frequenz-floss/frequenz-client-assets-python/pull/38/files#diff-a926da2f3a180c80c78807c0d8f2988fb9b8cfcb70e549239773cc14bf0b374bR14

Activity

  1. added theissue type on Sep 26, 2025
  2. added this to the Untriaged milestone on Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementNew feature or enhancement visitble to users

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions