setNonPrintableStyle

When String object contains non-printable characters, they are escaped with \\u or \\x notation. Sometimes it is better to transform this data to binary (with the !!binary tag). String objects with printable data are non affected by this setting.

Return

the builder with the provided value

Parameters

nonPrintableStyle
  • set this to BINARY to force non-printable String to represented as binary (byte array)