User:Ijabz/NewJSONFormatTransformations: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
*Some renaming is not that simple, i.e medium -> media, |
*Some renaming is not that simple, i.e medium -> media, |
||
*Name-Credit within ArtistCredit has been anonymized |
*Name-Credit within ArtistCredit has been anonymized |
||
*Data displayed in Xml for backwards |
*Data displayed in Xml for backwards compatability 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 compatability not shown in json , i.e release-group type attribute