method Type.prototype.toJSONRe-exportimport { Type } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts"; toJSON(toJSONOptions?: IToJSONOptions): ITypeConverts this message type to a message type descriptor. Converts this message type to a message type descriptor. ParametersoptionaltoJSONOptions: IToJSONOptionsJSON conversion options ReturnsITypeMessage type descriptor