Create a string transformer that replace the values of string and int fields respectively by "???" and 0.
Create a string transformer that replace the values of string and int fields respectively by "???" and 0.
Renders JSON.
Renders JSON.
Printer#pretty
Printer#compact
Create a string transformer that replace fields by known values.
Create a string transformer that replace fields by known values. Ex: given the following JSON
{ "id" : "1234-123123", "name" : "John", "age" : "123" }
The transformer obtained by this call:
replaceJsonField(value = "???", names = "id", "age")
Will turn the JSON into
{ "id" : "???", "name" : "John", "age" : "???" }