From 2a896dbeb3e163b1c015849a4b3615a0657abb54 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 23 May 2019 14:14:21 -0700 Subject: [PATCH] Also mention that serde-wasm-bindgen supports more types than JSON does --- guide/src/reference/arbitrary-data-with-serde.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guide/src/reference/arbitrary-data-with-serde.md b/guide/src/reference/arbitrary-data-with-serde.md index 03161f309..9d1109f5b 100644 --- a/guide/src/reference/arbitrary-data-with-serde.md +++ b/guide/src/reference/arbitrary-data-with-serde.md @@ -116,7 +116,8 @@ disadvantages. The primary advantage is smaller code size: going through JSON entrenches code to stringify and parse floating point numbers, which is not a small amount of -code. +code. It also supports more types than JSON does, such as `Map`, `Set`, and +array buffers. There are two primary disadvantages. The first is that it is not always compatible with the default JSON-based serialization. The second is that it