Conversation
cfjedimaster
left a comment
There was a problem hiding this comment.
I'm not sure what the point is of showing the $string call to display an array. In most cases, folks would want to display: X, Y, Z. Not ["X", "Y", "Z"]. Why not document how that would be done?
|
I'd maybe show $join instead: https://docs.jsonata.org/string-functions#join |
|
this will be the case when we have array as the value of a key in json and the user wants to print that value as array itself. |
|
I guess I can see that as something a person would do, but most humans don't 'read' arrays like that, and the consumers of the PDFs are probably more non-technical folks. I'm not saying this isn't a bad tip per se, but it just feels odd for us to show a random tip like this. I do think our docs could use a page with DocGen tips and tricks. |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: