MCPcopy Create free account
hub / github.com/VCVRack/Rack / fromJson

Method fromJson

src/engine/ParamQuantity.cpp:184–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183
184void ParamQuantity::fromJson(json_t* rootJ) {
185 json_t* valueJ = json_object_get(rootJ, "value");
186 if (valueJ)
187 setImmediateValue(json_number_value(valueJ));
188}
189
190
191void ParamQuantity::setSmoothValue(float value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected