json
Package json
import "github.com/luxfi/node/utils/json"Functions
NewCodec
func NewCodec() rpc.CodecNewCodec returns a new json codec that will convert the first character of the method to uppercase
Types
Float32
func (f Float32) MarshalJSON() ([]byte, error)func (f *Float32) UnmarshalJSON(b []byte) errorFloat64
func (f Float64) MarshalJSON() ([]byte, error)func (f *Float64) UnmarshalJSON(b []byte) errorUint16
func (u Uint16) MarshalJSON() ([]byte, error)func (u *Uint16) UnmarshalJSON(b []byte) errorUint32
func (u Uint32) MarshalJSON() ([]byte, error)func (u *Uint32) UnmarshalJSON(b []byte) errorUint64
func (u Uint64) MarshalJSON() ([]byte, error)func (u *Uint64) UnmarshalJSON(b []byte) errorUint8
func (u Uint8) MarshalJSON() ([]byte, error)func (u *Uint8) UnmarshalJSON(b []byte) error