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

Function objArraySerializer

spec/custom-serializer.spec.ts:92–97  ·  view source on GitHub ↗
(values: Array<Inner>)

Source from the content-addressed store, hash-verified

90 }
91
92 function objArraySerializer(values: Array<Inner>) {
93 return TypedJSON.toPlainArray(
94 values.filter(value => value.shouldSerialize),
95 Inner,
96 );
97 }
98
99 @jsonObject
100 class Obj {

Callers

nothing calls this directly

Calls 1

toPlainArrayMethod · 0.80

Tested by

no test coverage detected