MCPcopy Create free account
hub / github.com/VCVRack/AudibleInstruments / dataFromJson

Method dataFromJson

src/Elements.cpp:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 }
257
258 void dataFromJson(json_t* rootJ) override {
259 json_t* modelJ = json_object_get(rootJ, "model");
260 if (modelJ) {
261 setModel(json_integer_value(modelJ));
262 }
263 }
264
265 int getModel() {
266 // Use the first channel's Part as the reference model

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected