parseString(json) {
    const data = JSON.parse(json);
    for (const stepJson of data) {
      this.context_.setStep(stepJson['name'],
                            BaoStep.createBaoStep(this.context_, stepJson));
    }
    return this;
  }
/** Initialize bao with JSON data. */
Initialize bao with JSON data.
Initialize bao with JSON data .
parseString(json) {
    const data = JSON.parse(json);
    for (const stepJson of data) {
      this.context_.setStep(stepJson['name'],
                            BaoStep.createBaoStep(this.context_, stepJson));
    }
    return this;
  }
parseString ( json ) { const data = JSON . parse ( json ) ; for ( const stepJson of data ) { this . context_ . setStep ( stepJson [ 'name' ] , BaoStep . createBaoStep ( this . context_ , stepJson ) ) ; } return this ; }
Initialize bao with JSON data.
Initialize bao with JSON data .