Browse Source

Regenerate edoc documentation

Takeru Ohta 8 years ago
parent
commit
c7e84b2f5a
1 changed files with 7 additions and 1 deletions
  1. 7 1
      doc/jsone.md

+ 7 - 1
doc/jsone.md

@@ -92,12 +92,15 @@ binary string if fails find one.
 
 
 
 
 <pre><code>
 <pre><code>
-encode_option() = native_utf8 | {float_format, [<a href="#type-float_format_option">float_format_option()</a>]} | {datetime_format, <a href="#type-datetime_encode_format">datetime_encode_format()</a>} | {object_key_type, string | scalar | value} | {space, non_neg_integer()} | {indent, non_neg_integer()}
+encode_option() = native_utf8 | canonical_form | {float_format, [<a href="#type-float_format_option">float_format_option()</a>]} | {datetime_format, <a href="#type-datetime_encode_format">datetime_encode_format()</a>} | {object_key_type, string | scalar | value} | {space, non_neg_integer()} | {indent, non_neg_integer()} | undefined_as_null
 </code></pre>
 </code></pre>
 
 
 `native_utf8`: <br />
 `native_utf8`: <br />
 - Encodes UTF-8 characters as a human-readable(non-escaped) string <br />
 - Encodes UTF-8 characters as a human-readable(non-escaped) string <br />
 
 
+`canonical_form`: <br />
+- produce a canonical form of a JSON document <br />
+
 `{float_format, Optoins}`:
 `{float_format, Optoins}`:
 - Encodes a `float()` value in the format which specified by `Options` <br />
 - Encodes a `float()` value in the format which specified by `Options` <br />
 - default: `[{scientific, 20}]` <br />
 - default: `[{scientific, 20}]` <br />
@@ -122,6 +125,9 @@ encode_option() = native_utf8 | {float_format, [<a href="#type-float_format_opti
 - Inserts a newline and `N` spaces for each level of indentation <br />
 - Inserts a newline and `N` spaces for each level of indentation <br />
 - default: `0` <br />
 - default: `0` <br />
 
 
+`undefined_as_null`: <br />
+- Encodes atom `undefined` as null value <br />
+
 
 
 
 
 ### <a name="type-float_format_option">float_format_option()</a> ###
 ### <a name="type-float_format_option">float_format_option()</a> ###