User:Ijabz/NewJSONFormatTransformations: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
*All elements that were stored in the list now stored in json array and pluralised i.e tag ->tags, release ->releases
*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,
*Some renaming is not that simple, i.e medium -> media,
*Name-Credit within ArtistCredit as been anonymized
*Name-Credit within ArtistCredit has been anonymized
*Data displayed in Xml for backwards comptability not shown in json , i.e release-group type attribute
*Data displayed in Xml for backwards comptability not shown in json , i.e release-group type attribute

Revision as of 07:19, 17 July 2012

=== 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 comptability not shown in json , i.e release-group type attribute