read_json

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Extracts the json property value from the specified file.

This simplifies handling of a JSON file to read specific property values that are required for your workflow.

Not supported in PowerShell

In PowerShell, ConvertTo-Json is suggested as an alternative.

Usage

read_json <path to file> <field name>

  • path to file is the fully qualified path of the JSON file

  • field name is the field for which you want to read the value. Use dot notation and [n] for arrays.