MCPcopy Create free account
hub / github.com/DTStack/molecule / flatObject

Method flatObject

src/services/settingsService.ts:49–49  ·  view source on GitHub ↗

* It converts an object to a flatted object, * eg: { a: { b: 'test' }}, result is : { 'a.b': 'test' }. * @param obj object

(obj: object)

Source from the content-addressed store, hash-verified

47 * @param obj object
48 */
49 flatObject(obj: object): object;
50 /**
51 * It converts an object to a flatted json string,
52 * eg: { a: { b: 'test' }}, result is : `{ 'a.b': 'test' }`.

Callers 1

Implementers 1

SettingsServicesrc/services/settingsService.ts

Calls

no outgoing calls

Tested by

no test coverage detected