Registry / serialization / decred-dcrd-dcrjson-v2

decred-dcrd-dcrjson-v2

JSON →
librarygogounverified

Package dcrjson provides primitives for working with the Decred JSON-RPC API, including request/response types and marshaling utilities.

go get github.com/decred/dcrd/dcrjson/v2
INSTALL
IMPORT
SIG · DECRED-DCRD-DCRJSO
D
decred-dcrd-dcrjson-v2
serializationgo
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.

dcrjson
github.com/decred/dcrd/dcrjson/v2

Create a JSON-RPC command

package main import ( "fmt" "github.com/decred/dcrd/dcrjson/v2" ) func main() { msg, err := dcrjson.MarshalCmd(1, "getblockcount") if err != nil { panic(err) } fmt.Println(string(msg)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
decred-dcrd-dcrjson-v2 — go get decred-dcrd-dcrjson-v2 · libregistry