From a3987fca1396b45b1d74489924ed87766a75ad8b Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 30 Mar 2023 06:20:27 -0700 Subject: [PATCH] Add note for improvement --- doc/developer.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/developer.md b/doc/developer.md index f0008d9..7824e17 100644 --- a/doc/developer.md +++ b/doc/developer.md @@ -43,6 +43,8 @@ if (reply.isEmpty())) { } ``` +Yes, `isEmpty()` is not a very strict check, we could actually check for valid-looking JSON (starts with a { and ends with a }) as well as making sure the keys "seed" and "birthday" exist. Please implement this. + When checking the return value of `litelib_initialize_new` it should look like : ```