Added toJson().

This commit is contained in:
Erik C. Thauvin 2020-03-05 22:49:24 -08:00
parent 5550f076ca
commit 527530e89d
4 changed files with 12 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class AkismetServlet : HttpServlet() {
email = comment.authorEmail,
date = comment.dateGmt,
comment = comment.content,
json = comment.toString(),
json = comment.toJson(),
isSpam = isSpam
)