Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support content types following structured syntax suffixes #1007

Merged
merged 1 commit into from
Apr 18, 2024

Commits on Apr 18, 2024

  1. Support content types following structured syntax suffixes

    This enables the encoding/decoding of custom content types which
    use the `+json` or `+xml` suffix to indicate that their encoding
    is JSON or XML respectively. Users can also add their own suffixes
    to the registry in a similar fashion to how `datacodec.AddDecoder()`
    and `dataodec.AddEncoder()` work, but via the `AddStructuredSuffixDecoder`
    and `AddStructuredSuffixEncoder` functions.
    
    Signed-off-by: dan-j <[email protected]>
    dan-j committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    c68ed0e View commit details
    Browse the repository at this point in the history