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

Method flatObject2JSONString

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

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

(obj: object)

Source from the content-addressed store, hash-verified

53 * @param obj object
54 */
55 flatObject2JSONString(obj: object): string;
56 /**
57 * It converts a flatted JSON string to a normal object,
58 * 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