Also mention that serde-wasm-bindgen supports more types than JSON does

This commit is contained in:
Nick Fitzgerald 2019-05-23 14:14:21 -07:00
parent 90f1866ddd
commit 2a896dbeb3

View File

@ -116,7 +116,8 @@ disadvantages.
The primary advantage is smaller code size: going through JSON entrenches code 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 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 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 compatible with the default JSON-based serialization. The second is that it