Commit 9e6c62aa authored by zeroday's avatar zeroday
Browse files

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

parent c19596ca
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment