1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/documentation/docs/scripts/jsonUtils.md
Oliver Nocon 749aa5e7ed
InfluxDB support (#52)
* adding step for writing metrics to InfluxDB including dependencies
* added documentation
* incorporated PR feedback
2018-01-24 09:55:38 +01:00

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