-
Notifications
You must be signed in to change notification settings - Fork 284
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
Empty Json serializes to "undefined" #1442
Comments
Accidentally created the issue before wrote body. Sorry. |
Try to use If you need an optional field, you have two other possibilities:
It would be nice if Phobos also had an |
Thank you for answer. Now I understand how to solve my problem. |
Sorry, I thought PR fixes this situation. It is better if issue will be opened until it is fixed. |
Fixed by #1548 |
Why is Json().toString "undefined"? It is not a valid json, I can not pass it to the client.
The text was updated successfully, but these errors were encountered: