MCPcopy Create free account
hub / github.com/JohnWeisz/TypedJSON / stringify

Method stringify

src/parser.ts:244–250  ·  view source on GitHub ↗
(
        object: T,
        rootType: Serializable<T>,
        settings?: ITypedJSONSettings,
    )

Source from the content-addressed store, hash-verified

242 }
243
244 static stringify<T>(
245 object: T,
246 rootType: Serializable<T>,
247 settings?: ITypedJSONSettings,
248 ): string {
249 return new TypedJSON(rootType, settings).stringify(object);
250 }
251
252 static stringifyAsArray<T>(
253 object: Array<T>,

Callers 15

stringifyAsArrayMethod · 0.80
stringifyAsSetMethod · 0.80
stringifyAsMapMethod · 0.80
testFunction · 0.80
map.spec.tsFile · 0.80
base.spec.tsFile · 0.80
testFunction · 0.80
testFunction · 0.80
set.spec.tsFile · 0.80
testFunction · 0.80

Calls 1

toPlainJsonMethod · 0.95

Tested by 10

testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64