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

x/grpc_basic/proto.ts>Type#toJSON

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

Converts this message type to a message type descriptor.

Parameters

optional
toJSONOptions: IToJSONOptions

JSON conversion options

Returns

IType

Message type descriptor