Decoder

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.encoding.json
  • Platforms: .NET, .NET Standard 2.0, Island

Instance Methods


constructor

 

constructor

 

Decoder()

 

init()

constructor (Decoder)

 

constructor(value: Decoder)

 

Decoder(Decoder value)

 

init(_ value: Decoder)

Parameters:

  • value:

Buffered

 

method Buffered: Reader

 

Reader Buffered()

 

func Buffered() -> Reader

 

func Buffered() Reader

Decode

 

method Decode(v: Object): error

 

error Decode(Object v)

 

func Decode(_ v: Object) -> error

 

func Decode(v interface{}) error

Parameters:

  • v:

DisallowUnknownFields

 

method DisallowUnknownFields

 

void DisallowUnknownFields()

 

func DisallowUnknownFields()

 

func DisallowUnknownFields()

More

 

method More: bool

 

bool More()

 

func More() -> bool

 

func More() bool

Token

 

// .NET, Island
method Token: tuple of (Object, error)
// .NET Standard 2.0
method Token: ValueTuple<Object, error>

 

// .NET, Island
(Object, error) Token()
// .NET Standard 2.0
ValueTuple<Object, error> Token()

 

// .NET, Island
func Token() -> (Object, error)
// .NET Standard 2.0
func Token() -> ValueTuple<Object, error>

 

// .NET, Island
func Token() (interface{}, error)
// .NET Standard 2.0
func Token() ValueTuple<interface{}, error>

UseNumber

 

method UseNumber

 

void UseNumber()

 

func UseNumber()

 

func UseNumber()