mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-26 11:11:34 +00:00
Also mention that serde-wasm-bindgen supports more types than JSON does
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user