You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2013/11/07 22:20:33 UTC
Adding "doc"'s over multiple lines
Hi Folks,
Can someone please put me out of my misery here and explain how I can
change this
"type": "record",
"name": "Reference",
"namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
"doc": "A reference stores the original item reference, and also
the item's data store reference, which describes its location within the
data store.",
to this
"type": "record",
"name": "Reference",
"namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
"doc": "A reference stores the original item reference, and also
the /n
item's data store reference, which describes its location within
the /n
data store.",
Basically I have lots of long doc strings to deal with and would like to
split them over multiple lines.
Thank you. I have a fear that this is basic JSON but I haven't found
anything yet!
Lewis
--
*Lewis*
Re: Adding "doc"'s over multiple lines
Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Bertrand,
Thanks for speedy reply.
Thats fine. I can live with editor wrapping for the time being :)
Best
Lewis
On Thu, Nov 7, 2013 at 9:38 PM, Bertrand Dechoux <de...@gmail.com> wrote:
> I am afraid the answer is editor wrapping.
>
> Or using avdl instead of avsc and transforming the former into the latter
> : https://issues.apache.org/jira/browse/AVRO-1337.
>
> Bertrand
>
>
>
> On Thu, Nov 7, 2013 at 10:20 PM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> Hi Folks,
>> Can someone please put me out of my misery here and explain how I can
>> change this
>>
>> "type": "record",
>> "name": "Reference",
>> "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
>> "doc": "A reference stores the original item reference, and
>> also the item's data store reference, which describes its location within
>> the data store.",
>>
>> to this
>>
>> "type": "record",
>> "name": "Reference",
>> "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
>> "doc": "A reference stores the original item reference, and
>> also the /n
>> item's data store reference, which describes its location
>> within the /n
>> data store.",
>> Basically I have lots of long doc strings to deal with and would like to
>> split them over multiple lines.
>> Thank you. I have a fear that this is basic JSON but I haven't found
>> anything yet!
>> Lewis
>>
>> --
>> *Lewis*
>>
>
>
--
*Lewis*
Re: Adding "doc"'s over multiple lines
Posted by Bertrand Dechoux <de...@gmail.com>.
I am afraid the answer is editor wrapping.
Or using avdl instead of avsc and transforming the former into the latter :
https://issues.apache.org/jira/browse/AVRO-1337.
Bertrand
On Thu, Nov 7, 2013 at 10:20 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:
> Hi Folks,
> Can someone please put me out of my misery here and explain how I can
> change this
>
> "type": "record",
> "name": "Reference",
> "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
> "doc": "A reference stores the original item reference, and also
> the item's data store reference, which describes its location within the
> data store.",
>
> to this
>
> "type": "record",
> "name": "Reference",
> "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
> "doc": "A reference stores the original item reference, and also
> the /n
> item's data store reference, which describes its location
> within the /n
> data store.",
> Basically I have lots of long doc strings to deal with and would like to
> split them over multiple lines.
> Thank you. I have a fear that this is basic JSON but I haven't found
> anything yet!
> Lewis
>
> --
> *Lewis*
>