TDJSON.jsonToText - Optional Indentless minimized form

Hi, it would be great to have a named parameter to enable/disable the indentation in TDJSON.jsonToText(), so there is a way to get output identical to json.dumps().

Thanks!

Makes sense. Will have an ‘indent’ parameter in future builds that will default to ‘\t’. Set this to None for default dumps behavior.

FYI the current function returns dumps(indent=‘\t’) if you need to compare

1 Like

@Ivan Ah that sounds great. Thank you!