Documentation
¶
Overview ¶
Package rustjson provides a JSON parser backed by a Rust WASM module compiled from rust/parsers/json-parser using serde_json.
Build the WASM binary with:
cd rust && make build-json
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser parses JSON documents using the Rust serde_json crate via WASM. It implements config.Parser.
func New ¶
New creates a Parser, compiling the embedded WASM module once. The caller must call Close when the Parser is no longer needed.
Click to show internal directories.
Click to hide internal directories.