beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1581) JsonIO
Date Fri, 10 Mar 2017 15:18:04 GMT

    [ https://issues.apache.org/jira/browse/BEAM-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905240#comment-15905240
] 

Eugene Kirpichov commented on BEAM-1581:
----------------------------------------

I would recommend to preserve the decomposition and make this (I suppose, FileBased?) source
and sink use collections of String representing the JSON objects; abstracting only the way
a sequence of JSON literals is represented in a file (is it one per line, or are they all
in a huge JSON array, or are they delimited by an empty line, etc).

The user can then choose which JSON library to use to generate or parse them.

> JsonIO
> ------
>
>                 Key: BEAM-1581
>                 URL: https://issues.apache.org/jira/browse/BEAM-1581
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-extensions
>            Reporter: Aviem Zur
>            Assignee: Aviem Zur
>
> A new IO (with source and sink) which will read/write Json files.
> Similar to {{XmlSink}}.
> Consider using methods/code (or refactor these) found in {{AsJsons}} and {{ParseJsons}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message