mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-15 12:44:31 +03:00
Also mention that serde-wasm-bindgen supports more types than JSON does
This commit is contained in:
parent
90f1866ddd
commit
2a896dbeb3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user