@rfanth/tjson 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +1 -1
- package/tjson_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -81,6 +81,8 @@ All four functions throw an `Error` on invalid input.
|
|
|
81
81
|
|
|
82
82
|
Options use **camelCase** in JavaScript. The underlying library's Rust API uses snake_case and idiomatic Rust, but exposes the same options.
|
|
83
83
|
|
|
84
|
+
Options must be a plain object; `null`/`undefined` mean defaults, and anything else (an array, a number) throws. Unknown fields are ignored — TypeScript catches misspelled names at compile time — except option names that were renamed or removed in a past release, which throw with a hint pointing at the replacement.
|
|
85
|
+
|
|
84
86
|
**Key options:**
|
|
85
87
|
|
|
86
88
|
| Option | Default | Description |
|
package/package.json
CHANGED
package/tjson_bg.wasm
CHANGED
|
Binary file
|