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

Is it possible to achieve something like - shouldSerializeEmpty #725

Closed
blueeyez opened this issue Mar 10, 2017 · 3 comments
Closed

Is it possible to achieve something like - shouldSerializeEmpty #725

blueeyez opened this issue Mar 10, 2017 · 3 comments

Comments

@blueeyez
Copy link

I'm having a hard time to serialize some complex data because some relations are 0/1 -> n or vice-versa and the field itself was set in the database as a blank space or empty, and in some cases NULL.

For these being said, I can't make the best use of setSerializeNull.

Is there any work around to achieve something like that in the GenericSerializationVisitor for the visitArray method to add extra check?

Thank you!

@goetas
Copy link
Collaborator

goetas commented Mar 10, 2017 via email

@blueeyez
Copy link
Author

So, I guess there's no other option beside that?
The point why i was asking this is that the system is quite complex, like i mentioned before, and to go thru all the Entities will take "forever".
But if you think there's no other way then ...

Thanks!

@goetas
Copy link
Collaborator

goetas commented Mar 10, 2017

@goetas goetas closed this as completed Mar 10, 2017
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