User:Ijabz/NewJSONFormatTransformations: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(New page: === 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 ...)
 
No edit summary
Line 1: Line 1:
=== Differences between Xml output and New Json Output
=== Differences between Xml output and New Json Output
All list elements removed and their attributes displayed as elements of the parent
*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
*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
*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 as 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:18, 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 as been anonymized
  • Data displayed in Xml for backwards comptability not shown in json , i.e release-group type attribute