Sfoglia il codice sorgente

Add notice to use json module in readme, due to the merged PR #584

zeroday 9 anni fa
parent
commit
9e6c62aa4d
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -485,8 +485,10 @@ cc:post(coap.NON, "coap://192.168.18.100:5683/", "Hello")
 ```
 
 ####cjson
-
 ```lua
+-- Note that when cjson deal with large content, it may fails a memory allocation, and leaks a bit of memory.
+-- so it's better to detect that and schedule a restart. 
+--
 -- Translate Lua value to/from JSON
 -- text = cjson.encode(value)
 -- value = cjson.decode(text)