beam-commits mailing list archives

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


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:
>             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

View raw message