[
https://issues.apache.org/jira/browse/BEAM-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052145#comment-17052145
]
Ismaël Mejía commented on BEAM-4381:
------------------------------------
Not a fix, but for future reference there is now a PTransform that converts to
the Json string representation `ToJson`, so that's probably a good place to add
it.
https://github.com/apache/beam/pull/9744
> Provide DoFn to convert a Row (record with schema) to a javax.json.JsonObject
> -----------------------------------------------------------------------------
>
> Key: BEAM-4381
> URL: https://issues.apache.org/jira/browse/BEAM-4381
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-core
> Reporter: Romain Manni-Bucau
> Priority: Major
>
> This task is about ensuring the generic record of beam can be converted to a
> more mainstream format (JSON). The usage os javax.json.JsonObject is to
> ensure it is portable and implementation independent and integrates th emost
> probably with client libraries (most implementations have a bridge to the jsr
> anyway)
>
> It will likely lead to provide a Dofn Row -> JsonObject and the opposite.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)