Encoder

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

 

Encoder()

 

init()

constructor (Encoder)

 

constructor(value: Encoder)

 

Encoder(Encoder value)

 

init(_ value: Encoder)

Parameters:

  • value:

constructor (Writer, error, Boolean, Reference<Buffer>, string, string) .NET, .NET Standard 2.0

 

constructor(aw: Writer; aerr: error; aescapeHTML: Boolean; aindentBuf: Reference<Buffer>; aindentPrefix: string; aindentValue: string)

 

Encoder(Writer aw, error aerr, Boolean aescapeHTML, Reference<Buffer> aindentBuf, string aindentPrefix, string aindentValue)

 

init(_ aw: Writer, _ aerr: error, _ aescapeHTML: Boolean, _ aindentBuf: Reference<Buffer>, _ aindentPrefix: string, _ aindentValue: string)

Parameters:

  • aw:
  • aerr:
  • aescapeHTML:
  • aindentBuf:
  • aindentPrefix:
  • aindentValue:

constructor (Writer, error, bool, Reference<Buffer>, string, string) Island

 

constructor(aw: Writer; aerr: error; aescapeHTML: bool; aindentBuf: Reference<Buffer>; aindentPrefix: string; aindentValue: string)

 

Encoder(Writer aw, error aerr, bool aescapeHTML, Reference<Buffer> aindentBuf, string aindentPrefix, string aindentValue)

 

init(_ aw: Writer, _ aerr: error, _ aescapeHTML: bool, _ aindentBuf: Reference<Buffer>, _ aindentPrefix: string, _ aindentValue: string)

Parameters:

  • aw:
  • aerr:
  • aescapeHTML:
  • aindentBuf:
  • aindentPrefix:
  • aindentValue:

Encode

 

method Encode(v: Object): error

 

error Encode(Object v)

 

func Encode(_ v: Object) -> error

 

func Encode(v interface{}) error

Parameters:

  • v:

SetEscapeHTML

 

method SetEscapeHTML(on: bool)

 

void SetEscapeHTML(bool on)

 

func SetEscapeHTML(_ on: bool)

 

func SetEscapeHTML(on bool)

Parameters:

  • on:

SetIndent

 

method SetIndent(prefix: string; indent: string)

 

void SetIndent(string prefix, string indent)

 

func SetIndent(_ prefix: string, _ indent: string)

 

func SetIndent(prefix string, indent string)

Parameters:

  • prefix:
  • indent: