* @method getJson * @param {Object} options * @return {Object}
(options)
| 650 | * @return {Object} |
| 651 | */ |
| 652 | getJson(options) { |
| 653 | let json = {}; |
| 654 | |
| 655 | this.registerOptions(options); |
| 656 | this._printableProperties.forEach((key) => (json[key] = this[key])); |
| 657 | |
| 658 | if (this.addAdditionalJsonForHelp) { |
| 659 | this.addAdditionalJsonForHelp(json, options); |
| 660 | } |
| 661 | |
| 662 | return json; |
| 663 | }, |
| 664 | }); |
| 665 | |
| 666 | /* |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…