Is there some specific reasoning as to why the JSON GENERATE statement does not support "conditional suppression" in a manner similar to the XML GENERATE statement?
Specifically, with XML GENERATE you can do something like the following:
xml generate my-document from my-data
name my-field is 'myField'
suppress my-field when low-values
In this example, if you moved low-values to my-field then no myField element would be generated.
I'm not as familiar with the "rules" of JSON, but I'm thinking it might make sense for something similar...?
Frank
The information contained in this electronic communication and any document attached hereto or transmitted herewith is confidential and intended for the exclusive use of the individual or entity named above. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any examination, use, dissemination, distribution or copying of this communication or any part thereof is strictly prohibited. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this communication. Thank you.