ojob.io/formats/fromFile

Usage

ojob ojob.io/formats/fromFile type=json file=sample.json 

Description

Converts an existing json/yaml/slon/xml file (or piped content) into a oJob's __pm variable suitable to pipe to another job

Expects

Name Description
type The piped or file content type from (e.g. json/yaml/slon/xml)
file The file to read data from.