Skip to content

Custom JSONEncoder #103

Description

@sergiors

I think it would be a good idea to allow passing a custom JSONEncoder. This would provide more flexibility for handling complex or non-standard data types during serialization.

data = utils.force_bytes(json.dumps({"docs": _docs}))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions