Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10656

Skip outputing fields instead of empty string in JSON when undefined

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • ws/3
    • None
    • Web service
    • None

      In JSON WS/2 undefined fields are represented with empty string, whereas it is not output at all in XML WS/2 since it is optional in MMD Schema 2.0.

      For example, disambiguation comment in artist lookup:

      It is a waste of resources. Note that it is related to `browse` and `lookup` requests mostly, since search requests are handled by the indexed search server that returns a handful of fields only.

            Unassigned Unassigned
            yvanzo yvanzo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                ws/3