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

A token / placeholder (like SKIP) #148

Open
peey opened this issue Mar 16, 2021 · 0 comments
Open

A token / placeholder (like SKIP) #148

peey opened this issue Mar 16, 2021 · 0 comments

Comments

@peey
Copy link

peey commented Mar 16, 2021

I have a situation where while serializing I do not need to store any json for a property, but while deserializing my custom deserializer wants to store something.

e.g.

custom ( () => '', () => something );

I'm using '' as the token value. Before this I tried SKIP only to discover that skipping means that deserialzation isn't invoked (possibly because the property is skipped)

I was just wondering if there is another token / placeholder like SKIP that I can use instead of '' (in case this use-case comes up often)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant