title: How to add message type as object in ProtoBuf (gRPC) - Proto3 Syntax?
body: <p>How to send message type as object in ProtoBuf - Proto3 Syntax?</p>
  
  <p>I want to transfer object instead of string or number.</p>
  
  <h3>Example</h3>
  
  <pre><code>{
    name: 'One',
    date: 'date',
    some: 'some',
  ...
  ...
  }
  </code></pre>
  
  <pre><code>syntax = "proto3";
  
  package db;
  
  service Proxy
  {
      rpc myFunction(Request) returns (Response);
  }
  
  message Request
  {
      string name = 1;
  }
  
  message Response
  {
      object keyvalue = 1;
  }
  </code></pre>
  
  <p>Here, I am getting error</p>
  
  <pre><code>throw Error("no such Type or Enum '" + path + "' in " + this);
          ^
  
  Error: no such Type or Enum 'object' in Type
  </code></pre>
  
  <p>--</p>
  
  <h3>Workaround</h3>
  
  <p>I can convert it to string in server side, and then I can JSON.parse() at client.</p>
  
  <p>But I want to know, if there any better way to do it.</p>