AdobeDocs / pdfservices-api-documentation

Other
11 stars 138 forks source link

functions documentation #953

Open NamanChhabra opened 1 week ago

NamanChhabra commented 1 week ago

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

cfjedimaster commented 1 week ago

I'd maybe show $join instead: https://docs.jsonata.org/string-functions#join

NamanChhabra commented 1 week ago

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. Also , there are some functions that have an output type of array so to print them we can use the $string() function.

cfjedimaster commented 1 week ago

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.