Class ReadJSONStep

    • Field Detail

      • returnPojo

        protected boolean returnPojo
    • Constructor Detail

      • ReadJSONStep

        @DataBoundConstructor
        public ReadJSONStep()
    • Method Detail

      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception
      • getReturnPojo

        public boolean getReturnPojo()
        Whether to return a pure Java POJO made of Map and List or the deserialized JSON object (from json-lib). Default is JSON.
        Returns:
        whether to return a pure Java POJO made of Map and List or the deserialized JSON object (from json-lib). Default is JSON.
      • setReturnPojo

        @DataBoundSetter
        public void setReturnPojo​(boolean returnPojo)
        Whether to return a pure Java POJO made of Map and List or the deserialized JSON object (from json-lib). Default is JSON.
        Parameters:
        returnPojo - whether to return a pure Java POJO made of Map and List or the deserialized JSON object (from json-lib). Default is JSON.