Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1581

JSON source and sink

Details

    • New Feature
    • Status: Resolved
    • P2
    • Resolution: Won't Fix
    • None
    • Not applicable
    • io-ideas
    • None

    Description

      JSON source and sink to read/write JSON files.
      Similarly to XmlSource/XmlSink, these be a JsonSource/JonSink which are a FileBaseSource/FileBasedSink.
      Consider using methods/code (or refactor these) found in AsJsons and ParseJsons

      The PCollection of objects the user passes to the transform should be embedded in a valid JSON file
      The most common pattern for this is a large object with an array member which holds all the data objects and other members for metadata.
      Examples of public JSON APIs: https://www.sitepoint.com/10-example-json-files/
      Another pattern used is a file which is simply a JSON array of objects.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aviemzur Aviem Zur
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: