Closed mordfustang00 closed 4 months ago
Hello. Good Day. I would like to ask regards the following scenario below:
input json:
{ "CarStats": { "odo": { "value": 1000 "unit": 0 }, "VehicleStats": { "Distance": { "FuelRange": { "value": 100, "unit": 3 }, "EVRange": { "value": 200, "unit": 3 } } } }, "evstatus": null }
would like to know if the following scenario is possible:
if evstatus = null, output will be FuelRange, otherwise EVRange.
Thanks.
Hello. Good Day. I would like to ask regards the following scenario below:
input json:
{ "CarStats": { "odo": { "value": 1000 "unit": 0 }, "VehicleStats": { "Distance": { "FuelRange": { "value": 100, "unit": 3 }, "EVRange": { "value": 200, "unit": 3 } } } }, "evstatus": null }
would like to know if the following scenario is possible:
if evstatus = null, output will be FuelRange, otherwise EVRange.
Thanks.