Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grpc_basic/proto.ts>Service#toJSON

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

Converts this service to a service descriptor.

Parameters

optional
toJSONOptions: IToJSONOptions

JSON conversion options

Returns

IService

Service descriptor