Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grpc_basic/proto.ts>Type#toObject

Very basic gRPC implementation for Deno
Latest
method Type.prototype.toObject
Re-export
import { Type } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts";

Creates a plain object from a message of this type. Also converts values to other types if specified.

Parameters

message: Message<{ }>

Message instance

optional
options: IConversionOptions

Conversion options

Returns

{ [k: string]: any; }

Plain object