MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / toJson

Method toJson

nodejs_package/brainflow/ml_model.ts:35–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 public toJson(): string
36 {
37 const params: Record<string, any> = {};
38 Object.keys(this.inputParams).forEach((key) => {
39 params[_.snakeCase(key)] = this.inputParams[key as keyof IBrainFlowModelParams];
40 });
41 return JSON.stringify(params);
42 }
43}
44
45class MLModuleDLL extends MLModuleFunctions

Callers 3

to_jsonMethod · 0.45
to_jsonMethod · 0.45
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected