mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
749aa5e7ed
* adding step for writing metrics to InfluxDB including dependencies * added documentation * incorporated PR feedback
489 B
489 B
JsonUtils
Description
Provides json related utility functions.
Constructors
JsonUtils()
Default no-argument constructor. Instances of the Utils class does not hold any instance specific state.
Example
new JsonUtils()
Method Details
getPrettyJsonString(object)
Description
Creates a pretty-printed json string.
Parameters
object
- A object (e.g. Map or List).
Return value
A pretty printed String
.
Side effects
none