Mails with empty body produced the following output:
"body": [{"id": 1, "content-type": "text/plain", "content": (null)}]
The (null) is not valid JSON syntax.
This patch changes the output to:
"body": [{"id": 1, "content-type": "text/plain", "content": ""}]
Signed-off-by: Michal Sojka
---
On Sun, 14 Mar 2010 19:19:11 +0100, Michal Sojka wrote:
> Mails with empty body produced the following output:
> "body": [{"id": 1, "content-type": "text/plain", "content": (null)}]
> The (null) is not valid JSON syntax.
Is this just something that can happen with the body?
I've see (null) in