From 87b8d8bbfd3f6cfea465b5b3dc18942bd6215dae Mon Sep 17 00:00:00 2001 From: Stanislav Vishnevskiy Date: Tue, 19 Aug 2014 12:36:36 -0700 Subject: [PATCH] add new options to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a609b77..30e5d26 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ The options for decode are: * `return_maps` - Tell Jiffy to return objects using the maps data type on VMs that support it. This raises an error on VMs that don't support maps. +* `use_nil` - Decodes null value as the nil atom for Elixir compatibility. `jiffy:encode/1,2` ------------------ @@ -62,6 +63,7 @@ The options for encode are: * `{bytes_per_iter, N}` where N >= 0 - This controls the number of bytes that Jiffy will generate before yielding back to the VM. The mechanics of this yield are completely hidden from the end user. +* `use_nil` - Encodes nil atom as null value for Elixir compatibility. Data Format -----------