MCPcopy Create free account
hub / github.com/VCVRack/Befaco / dataToJson

Method dataToJson

src/Atte.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 json_t* dataToJson() override {
120 json_t* rootJ = json_object();
121 json_object_set_new(rootJ, "normalledVoltageIdx", json_integer(normalledVoltageIdx));
122 return rootJ;
123 }
124
125 void dataFromJson(json_t* rootJ) override {
126 json_t* normalledVoltageIdxJ = json_object_get(rootJ, "normalledVoltageIdx");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected