[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-user
Subject:    re: Does avrocppgen support arrays?
From:       John Langley <digerat () gmail ! com>
Date:       2013-08-13 16:37:07
Message-ID: CAKjVBeA_zU3SEyLZs47UiJE6G+dtNiHKoNAZZw3w=Fb9eNqs5Q () mail ! gmail ! com
[Download RAW message or body]

Found the form that works...

{
    "type": "record",
    "name": "cpx",
    "fields" : [
        {"name": "re", "type": "double"},
        {"name": "im", "type" : "double"},
        {"name": "exampleArray", "type" : {"type" : "array", "items" :
"string"}}
    ]
}

[Attachment #3 (text/html)]

<div dir="ltr">Found the form that works... <div><br></div><div><div>{</div><div>    \
&quot;type&quot;: &quot;record&quot;, </div><div>    &quot;name&quot;: \
&quot;cpx&quot;,</div><div>    &quot;fields&quot; : [</div><div>        \
{&quot;name&quot;: &quot;re&quot;, &quot;type&quot;: &quot;double&quot;},    </div> \
<div>        {&quot;name&quot;: &quot;im&quot;, &quot;type&quot; : \
&quot;double&quot;},</div><div>        {&quot;name&quot;: &quot;exampleArray&quot;, \
&quot;type&quot; : {&quot;type&quot; : &quot;array&quot;, &quot;items&quot; : \
&quot;string&quot;}}</div> <div>    ]</div><div>}</div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic