[
The above pic i am run protractor Conf.js with particular environmental name whi
To use only in one place a URL from json:
var jsonFile = require("./path/to/json/relative/to/currentRunFolder");
urlToUse = jsonFile.url; // or however you stored it.
use it in any spec, and you can change the json file every run. I hope i understood correctly.
To pass parameters to protractor, use --params.jsonFile="./path/to/json/relative/to/currentRunFolder"
and again use it as above using browser.params.jsonFile