Skip to content

Configuring JSON Serializer #21

Closed

Description

@Naamloos

Hello,

I'm using this adapter but I'm encountering a bit of an issue.
As it stands right now, it seems like there's no way to modify the default json serializer.

I have a custom Converter that I am unable to use with this library.

Thank you in advance!

Activity

  1. Naamloos commented on Dec 17, 2024

    @Naamloos
    Author

    A temporary workaround seems to be serializing to a JsonDocument and passing that to inertia, but obviously this is not preferred..

  2. kapi2289 commented on Jan 3, 2025

    @kapi2289
    Owner

    Hi, thanks for submitting the issue. Please let me know if #27 solves it.

  3. self-assigned this
    on Jan 3, 2025
  4. linked a pull request that will close this issue[1.x] Add custom JSON serializer #27on Jan 4, 2025
  5. Naamloos commented on Nov 20, 2025

    @Naamloos
    Author

    @kapi2289 Apologies for the late response.

    This indeed seems to fix my problem. Being able to pass my own JsonSerializerOptions is great 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions