Appreciate the reply, thank you!

On Friday, January 14, 2022 at 2:23:57 PM UTC-5 [email protected] wrote:

> There is no built-in support for nested maps, so for example map<string, 
> map<string, Value>> is not a valid field type. However you can accomplish 
> something roughly equivalent by using something like map<string, MyMap> 
> where MyMap is just a message containing a map.
>
> On Thu, Jan 13, 2022 at 12:11 PM Calicoder <[email protected]> wrote:
>
>> Howdy, been wondering if this is possible as looking at the official 
>> Google Protobuf docs is not showing if it is. I did find the Value() 
>> constructor part and I know I can use the various add_ methods to populate 
>> it but is this possible to make a detailed value_map with a key string and 
>> have another value_map inside that with a key value pair? So basically a 
>> nested Value map?
>>
>> Appreciate the help, thanks!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Protocol Buffers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/protobuf/c20d3a31-e46f-42a3-aa86-1f17a44e077dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/protobuf/c20d3a31-e46f-42a3-aa86-1f17a44e077dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/7466148d-dd88-405b-9d84-4b83a36c417an%40googlegroups.com.

Reply via email to