Marshaler

Overview

Location

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

Implemented in

Required Methods


MarshalJSON

 

// .NET, Island
method MarshalJSON: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method MarshalJSON: ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) MarshalJSON()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> MarshalJSON()

 

// .NET, Island
func MarshalJSON() -> (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalJSON() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalJSON() (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalJSON() ValueTuple<Slice<Byte>, error>