Interface IMeteorEJSON

EJSON *

Index

Methods

Methods

public addType(name: string, factory: Function)

Parameters

  • name: string
  • factory: Function

public clone(val: any): any

Parameters

  • val: any

Returns

any

public equals(any: any): boolean

Parameters

  • any: any

Returns

boolean

public fromJSONValue(val: any): any

Parameters

  • val: any

Returns

any

public isBinary(x: any): boolean

Parameters

  • x: any

Returns

boolean

public newBinary(size: number)

Parameters

  • size: number

public parse(str: string)

Parameters

  • str: string

public stringify(val: any): string

Parameters

  • val: any

Returns

string

public toJSONValue(val: any): JSON

Parameters

  • val: any

Returns

JSON