Skip to content

Instantly share code, notes, and snippets.

@slavisah
Last active March 10, 2017 12:58
Show Gist options
  • Save slavisah/97b57a5826dc0b49ee22895035eb244a to your computer and use it in GitHub Desktop.
Save slavisah/97b57a5826dc0b49ee22895035eb244a to your computer and use it in GitHub Desktop.
JSON sample for CSV export
{
"id": 1,
"status": "A",
"material": "wood",
"behaviour": [
{
"id": 1,
"name": "Behaviour Name 1",
"otherNames": [
{
"id": 37554,
"otherName": "other Beh Name 1 Ru",
"languageCode": "ru"
},
{
"id": 37556,
"otherName": "Other Beh Name 1 Fr",
"languageCode": "fr"
},
{
"id": 37555,
"otherName": "Other Beh Name 1 En",
"languageCode": "en"
}
]
},
{
"id": 2,
"name": "behaviour Name 2",
"otherNames": [
{
"id": 38001,
"otherName": "other Beh Name 2 Ru",
"languageCode": "ru"
},
{
"id": 38002,
"otherName": "Other Beh Name 2 Fr",
"languageCode": "fr"
},
{
"id": 38002,
"otherName": "Other Beh Name 2 En",
"languageCode": "en"
}
]
}
],
"property": [
{
"id": 1,
"name": "Property Name 1",
"otherPropertyNames": [
{
"id": 34080,
"value": "Other Prop Name Ru",
"languageCode": "ru"
},
{
"id": 34082,
"value": "Other Prop Name Fr",
"languageCode": "fr"
},
{
"id": 34081,
"value": "Other Prop Name En",
"languageCode": "en"
}
]
}
],
"notes": [
{
"id": 120,
"note": "note_one"
},
{
"id": 121,
"note": "note_two"
}
]
},
{
"id": 2,
"status": "A",
"material": "metal",
"behaviour": [
{
"id": 3,
"name": "Behaviour Abcdefg",
"otherNames": [
{
"id": 112233,
"otherName": "Abcdefg En",
"languageCode": "en"
}
]
}
],
"property": [
{
"id": 2,
"name": "Property Abcd 1",
"otherPropertyNames": [
{
"id": 221234,
"value": "Other Prop Abcd Fr",
"languageCode": "fr"
},
{
"id": 221235,
"value": "Other Prop Abcd En",
"languageCode": "en"
}
]
}
],
"notes": [
{
"id": 122,
"note": "note_one"
},
{
"id": 123,
"note": "note_two"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment