-
Notifications
You must be signed in to change notification settings - Fork 20
Spreadsheet Export for Projects should stringify complex objects #353
Comments
@mcjaeger , do you think we should save every iterable thing as JSON? |
That would be my suggestion, With this solution, I could simply use a JSON parser and then I would be able to access every property of a complex object. I'm open for other ideas as well... |
Yeah, I get that. I see your point. I only have this little nagging doubt that people who work with the spreadsheet manually, as opposed to programmatically, wouild want to see all lists |
Didn't realize that you were mentioning Michael :-) I can live with the more human readable format we have today, but I would suggest to quote the keys and values, if the datamodel allows to put commas or colons. This would ensure that automated parsers do not trap into situations where the key or value contains colons or commas... |
I think that makes sense. Even human parsers might stumble on unexpected commas or colons in values |
@innerjoin, what do you think of the idea that we encode list values as CSV (e.g.: I understand your problem, but I don't like the idea of putting JSON into an Spreadsheet. We should somehow keep it readable for non-engineers. I think we should go with CSV encoding or provide an extra functionality to export the same data as in spreadsheet, but in form of a proper JSON document. What's your take on this? |
@alex-evo, I like the idea to encode lists as CSV as it's a well known standard even to non engineers. The data export in form of a proper JSON document can be achieved through the REST API as well. |
…ble by exporting as JSON closes #353
After some deliberation and prototyping, we decided to go with JSON as you inially suggested, @innerjoin |
For example for releases, the external Id are separated by comma only, having someting like
could be easier to parse when:
The text was updated successfully, but these errors were encountered: