Javascript Read Json File Into Variable Resistor Pinout