public class ReadJSONStep extends AbstractFileOrTextStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ReadJSONStep.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
returnPojo |
file, text| Constructor and Description |
|---|
ReadJSONStep() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getReturnPojo()
Whether to return a pure Java POJO made of Map and List or the deserialized JSON object (from json-lib).
|
void |
setReturnPojo(boolean returnPojo)
Whether to return a pure Java POJO made of Map and List or the deserialized JSON object (from json-lib).
|
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
getFile, getText, setFile, setTextpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
throws Exception
start in class org.jenkinsci.plugins.workflow.steps.StepExceptionpublic boolean getReturnPojo()
@DataBoundSetter public void setReturnPojo(boolean returnPojo)
returnPojo - whether to return a pure Java POJO made of Map and List or the deserialized JSON object
(from json-lib). Default is JSON.Copyright © 2016–2020. All rights reserved.