mirror of
https://github.com/luxfi/utils.git
synced 2026-07-26 22:49:03 +00:00
Moves the JSON-RPC numeric wrappers (Uint8/16/32/64, Float32/64) and the gorilla/rpc lowercase Codec helper into the canonical luxfi/utils module. Replaces github.com/luxfi/codec/jsonrpc which has been retained only as a historical artefact of the codec module rip. All Lux modules that need JSON-RPC numeric quoting now have one canonical import: import "github.com/luxfi/utils/json" Identical API to codec/jsonrpc: Uint64.MarshalJSON quotes as decimal string, NewCodec returns a gorilla/rpc Codec that uppercases the first method letter.