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

Add support for implicit nulls in de/serializing JSON

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.23.0
    • extensions-java-json

    Description

      Currently,  RowJson.java doesn't have support for deserialising JSON with fields missing - it fails, even if the beam schema is nullable. This is often a problem for reading JSON as nulls are very commonly represented by omitting the field. Additionally, for this reason, not writing nulls is a reasonable when converting from Beam rows to JSON.

      This would help to allow https://issues.apache.org/jira/browse/BEAM-7624 to be implemented. 

      Attachments

        Activity

          People

            reubenvanammers Reuben van Ammers
            reubenvanammers Reuben van Ammers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h 50m
                7h 50m