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

Custom Serialization #138

Open
hafedh-trimeche opened this issue Dec 10, 2020 · 1 comment
Open

Custom Serialization #138

hafedh-trimeche opened this issue Dec 10, 2020 · 1 comment

Comments

@hafedh-trimeche
Copy link

Hello,

Is there a way to define custom serialization for a Base Types (Integer, Float, TTime, ...) so to not include default values (0, '' ,...) into a generated Json string?

Best regards.

@vkrapotkin
Copy link
Contributor

I do this manually after completion of JSON object before calling AsJson method.
I consider that way is more flexible than to invent the ways to encode/decode my wishes in some manner.

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

2 participants