AnsweredAssumed Answered

Pretty print json using modified javascript value

Question asked by Tri Priadhi Ashari on May 21, 2018

Hi i'm kindly new in pentaho

i'm trying to modify my json output to an easy to read for human reader.

so that i'm using modified javascript value with JSON.stringify on it.

below is my sample script :


JSON.stringify(json_value, null, 2);

When i run the script my json format still the same. it doesn't change the format


Can anyone tell me if i'm doing it wrong?