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

Allow LexiconTypeDecoder to handle unknown types (at least from JSON) #485

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 17, 2023

  1. Allow LexiconTypeDecoder to handle unknown types (at least from JSON)

    Store the values as json.RawMessage and preserve them for marshaling.
    
    CBOR counterpart not implemented due to lack of required functionality
    in cbor-gen, but can be added later.
    
    Conversion between JSON and CBOR might be possible too, if Lexicon
    doesn't have any features that violate 1:1 mapping between JSON and CBOR
    data types.
    imax9000 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    28f590b View commit details
    Browse the repository at this point in the history