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

exclude properties from serialization #104

Open
pietschy opened this issue Jun 7, 2019 · 1 comment
Open

exclude properties from serialization #104

pietschy opened this issue Jun 7, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@pietschy
Copy link

pietschy commented Jun 7, 2019

Hi there,

Is it possible to exclude properties from the serialization process? Similar to https://github.com/edcarroll/ta-json#jsonwriteonly?

Thanks!

@andreas-aeschlimann
Copy link
Member

It is not directly possible, if you mean by setting a simple flag.

What's possible right now is to exclude it if it is null/undefined with the isOptional flag.

@andreas-aeschlimann andreas-aeschlimann added the enhancement New feature or request label Jun 26, 2019
@andreas-aeschlimann andreas-aeschlimann self-assigned this Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants