User:Ijabz/NewJSONFormatTransformations

From MusicBrainz Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

=== Differences between Xml output and New Json Output

  • All list elements removed and their attributes displayed as elements of the parent
  • If attribute name could clash with attribute of child of parent rename. i.e both disc-list and track-list elements of medium can contain count element so renamed to disc-count and track-count
  • All elements that were stored in the list now stored in json array and pluralised i.e tag ->tags, release ->releases
  • Some renaming is not that simple, i.e medium -> media,
  • Name-Credit within ArtistCredit has been anonymized
  • Data displayed in Xml for backwards compatability not shown in json , i.e release-group type attribute