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

Method normalizeFlatObject

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

* It converts a flatted JSON string to a normal object, * eg: `{ 'a.b': 'test' }` result is : { a: { b: 'test' }}. * @param jsonStr string * @return T

(jsonStr: string)

Source from the content-addressed store, hash-verified

60 * @return T
61 */
62 normalizeFlatObject<T = ISettings>(jsonStr: string): T;
63 /**
64 * It converts an object to JSON string
65 */

Callers 3

initViewMethod · 0.65
fnFunction · 0.65

Implementers 1

SettingsServicesrc/services/settingsService.ts

Calls

no outgoing calls

Tested by 1

fnFunction · 0.52