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

Method toJson

nodejs_package/brainflow/board_shim.ts:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 public toJson(): string
44 {
45 const params: Record<string, any> = {};
46 Object.keys(this.inputParams).forEach((key) => {
47 params[_.snakeCase(key)] = this.inputParams[key as keyof IBrainFlowInputParams];
48 });
49 return JSON.stringify(params);
50 }
51}
52
53class BoardControllerDLL extends BoardControllerFunctions

Callers 1

constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected