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

(De)serializing any type from a (de)serializable type #110

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 9, 2020

  1. (De)serializing any type from a (de)serializable type

    I found myself relying on this trick again today but couldn't find it documented anywhere.
    
    It kind of follows from the design of serde, but I suspect there are a lot of users that are not aware of this and might do something more complicated, e.g. implement a Visitor like described in the docs.
    kosta authored Mar 9, 2020
    Configuration menu
    Copy the full SHA
    9caa31d View commit details
    Browse the repository at this point in the history
  2. fix build

    Kosta Welke committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    0e4747b View commit details
    Browse the repository at this point in the history
  3. fix build: correct return type

    Kosta Welke committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    2c56b5d View commit details
    Browse the repository at this point in the history