Registry / serialization / alloy-json-abi

alloy-json-abi

JSON →
library1.6.0rscratesunverified

Full Ethereum JSON-ABI implementation for encoding and decoding contract interfaces.

# Cargo.toml [dependencies] alloy-json-abi = "1.6.0"
INSTALL
IMPORT
SIG · ALLOY-JSON-ABI
A
alloy-json-abi
serializationrustv1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonAbi
use alloy_json_abi::JsonAbi;

Parse an Ethereum JSON ABI from a string.

use alloy_json_abi::JsonAbi; fn main() { let abi: JsonAbi = serde_json::from_str(r#"{"abi":[]}"#).unwrap(); println!("ABI: {:?}", abi); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
alloy-json-abi — cargo add alloy-json-abi · libregistry