Skip to content

Utils Module

The Utils Module provides various utility functions for common tasks such as encoding, decoding, escaping, and generating random identifiers.

  • Alphanumeric: Used to check whether a given string is alpha-numeric and to generate random strings.
  • Base64: Used to encode/decode in base64.
  • Digest: Used to encrypt binary/text with algorithms like md5, sha256, and sha512.
  • Escape: Used to escape/unescape text in CSV, HTML3, HTML4, JavaScript, Java, JSON, and XML format.
  • Hex: Used to encode/decode text/binary in hexadecimal format.
  • JSONPath: JSONPath utility for querying JSON data.
  • QRCode: Generates a JavaScript byte array based on an input string.
  • Url: Used to encode/decode text in the application/x-www-form-urlencoded MIME format.
  • UTF8: Used to encode/decode strings in UTF8.
  • UUID: Generates random universally unique identifiers.
  • XML: Transforms from JSON to XML and vice versa.