Global

Location

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

Methods


Compact

 

// .NET, .NET Standard 2.0
class method Compact(dst: Reference<Buffer>; src: Slice<Byte>): error
// Island
class method Compact(dst: Reference<Buffer>; src: Slice<Byte>): error

 

// .NET, .NET Standard 2.0
static error Compact(Reference<Buffer> dst, Slice<Byte> src)
// Island
static error Compact(Reference<Buffer> dst, Slice<Byte> src)

 

// .NET, .NET Standard 2.0
static func Compact(_ dst: Reference<Buffer>, _ src: Slice<Byte>) -> error
// Island
static func Compact(_ dst: Reference<Buffer>, _ src: Slice<Byte>) -> error

 

// .NET, .NET Standard 2.0
func Compact(dst Reference<Buffer>, src Slice<Byte>) error
// Island
func Compact(dst Reference<Buffer>, src Slice<Byte>) error

 

// .NET, .NET Standard 2.0
Shared Function Compact(dst As Reference<Buffer>, src As Slice<Byte>) As error
// Island
Shared Function Compact(dst As Reference<Buffer>, src As Slice<Byte>) As error

Parameters:

  • dst:
  • src:

HTMLEscape

 

// .NET, .NET Standard 2.0
class method HTMLEscape(dst: Reference<Buffer>; src: Slice<Byte>)
// Island
class method HTMLEscape(dst: Reference<Buffer>; src: Slice<Byte>)

 

// .NET, .NET Standard 2.0
static void HTMLEscape(Reference<Buffer> dst, Slice<Byte> src)
// Island
static void HTMLEscape(Reference<Buffer> dst, Slice<Byte> src)

 

// .NET, .NET Standard 2.0
static func HTMLEscape(_ dst: Reference<Buffer>, _ src: Slice<Byte>)
// Island
static func HTMLEscape(_ dst: Reference<Buffer>, _ src: Slice<Byte>)

 

// .NET, .NET Standard 2.0
func HTMLEscape(dst Reference<Buffer>, src Slice<Byte>) 
// Island
func HTMLEscape(dst Reference<Buffer>, src Slice<Byte>)

 

// .NET, .NET Standard 2.0
Shared Sub HTMLEscape(dst As Reference<Buffer>, src As Slice<Byte>)
// Island
Shared Sub HTMLEscape(dst As Reference<Buffer>, src As Slice<Byte>)

Parameters:

  • dst:
  • src:

Indent

 

// .NET, .NET Standard 2.0
class method Indent(dst: Reference<Buffer>; src: Slice<Byte>; prefix: string; indent: string): error
// Island
class method Indent(dst: Reference<Buffer>; src: Slice<Byte>; prefix: string; indent: string): error

 

// .NET, .NET Standard 2.0
static error Indent(Reference<Buffer> dst, Slice<Byte> src, string prefix, string indent)
// Island
static error Indent(Reference<Buffer> dst, Slice<Byte> src, string prefix, string indent)

 

// .NET, .NET Standard 2.0
static func Indent(_ dst: Reference<Buffer>, _ src: Slice<Byte>, _ prefix: string, _ indent: string) -> error
// Island
static func Indent(_ dst: Reference<Buffer>, _ src: Slice<Byte>, _ prefix: string, _ indent: string) -> error

 

// .NET, .NET Standard 2.0
func Indent(dst Reference<Buffer>, src Slice<Byte>, prefix string, indent string) error
// Island
func Indent(dst Reference<Buffer>, src Slice<Byte>, prefix string, indent string) error

 

// .NET, .NET Standard 2.0
Shared Function Indent(dst As Reference<Buffer>, src As Slice<Byte>, prefix As string, indent As string) As error
// Island
Shared Function Indent(dst As Reference<Buffer>, src As Slice<Byte>, prefix As string, indent As string) As error

Parameters:

  • dst:
  • src:
  • prefix:
  • indent:

Marshal

 

class method Marshal(v: Object): tuple of (Slice<Byte>, error)

 

static (Slice<Byte>, error) Marshal(Object v)

 

static func Marshal(_ v: Object) -> (Slice<Byte>, error)

 

func Marshal(v interface{}) (Slice<Byte>, error)

 

Shared Function Marshal(v As Object) As Tuple (Of Slice<Byte>, error)

Parameters:

  • v:

MarshalIndent

 

class method MarshalIndent(v: Object; prefix: string; indent: string): tuple of (Slice<Byte>, error)

 

static (Slice<Byte>, error) MarshalIndent(Object v, string prefix, string indent)

 

static func MarshalIndent(_ v: Object, _ prefix: string, _ indent: string) -> (Slice<Byte>, error)

 

func MarshalIndent(v interface{}, prefix string, indent string) (Slice<Byte>, error)

 

Shared Function MarshalIndent(v As Object, prefix As string, indent As string) As Tuple (Of Slice<Byte>, error)

Parameters:

  • v:
  • prefix:
  • indent:

NewDecoder

 

// .NET, .NET Standard 2.0
class method NewDecoder(r: Reader): Reference<Decoder>
// Island
class method NewDecoder(r: Reader): Reference<Decoder>

 

// .NET, .NET Standard 2.0
static Reference<Decoder> NewDecoder(Reader r)
// Island
static Reference<Decoder> NewDecoder(Reader r)

 

// .NET, .NET Standard 2.0
static func NewDecoder(_ r: Reader) -> Reference<Decoder>
// Island
static func NewDecoder(_ r: Reader) -> Reference<Decoder>

 

// .NET, .NET Standard 2.0
func NewDecoder(r Reader) Reference<Decoder>
// Island
func NewDecoder(r Reader) Reference<Decoder>

 

// .NET, .NET Standard 2.0
Shared Function NewDecoder(r As Reader) As Reference<Decoder>
// Island
Shared Function NewDecoder(r As Reader) As Reference<Decoder>

Parameters:

  • r:

NewEncoder

 

// .NET, .NET Standard 2.0
class method NewEncoder(w: Writer): Reference<Encoder>
// Island
class method NewEncoder(w: Writer): Reference<Encoder>

 

// .NET, .NET Standard 2.0
static Reference<Encoder> NewEncoder(Writer w)
// Island
static Reference<Encoder> NewEncoder(Writer w)

 

// .NET, .NET Standard 2.0
static func NewEncoder(_ w: Writer) -> Reference<Encoder>
// Island
static func NewEncoder(_ w: Writer) -> Reference<Encoder>

 

// .NET, .NET Standard 2.0
func NewEncoder(w Writer) Reference<Encoder>
// Island
func NewEncoder(w Writer) Reference<Encoder>

 

// .NET, .NET Standard 2.0
Shared Function NewEncoder(w As Writer) As Reference<Encoder>
// Island
Shared Function NewEncoder(w As Writer) As Reference<Encoder>

Parameters:

  • w:

Unmarshal

 

class method Unmarshal(data: Slice<Byte>; v: Object): error

 

static error Unmarshal(Slice<Byte> data, Object v)

 

static func Unmarshal(_ data: Slice<Byte>, _ v: Object) -> error

 

func Unmarshal(data Slice<Byte>, v interface{}) error

 

Shared Function Unmarshal(data As Slice<Byte>, v As Object) As error

Parameters:

  • data:
  • v:

Valid

 

class method Valid(data: Slice<Byte>): bool

 

static bool Valid(Slice<Byte> data)

 

static func Valid(_ data: Slice<Byte>) -> bool

 

func Valid(data Slice<Byte>) bool

 

Shared Function Valid(data As Slice<Byte>) As bool

Parameters:

  • data: