MCPcopy Index your code
hub / github.com/dataease/SQLBot / serialiseObject

Method serialiseObject

frontend/public/swagger-ui-bundle.js:26294–26305  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

26292 return s.children.map((s) => this.serialise(s))
26293 }
26294 serialiseObject(s) {
26295 const o = {}
26296 return (
26297 s.forEach((s, i) => {
26298 if (s) {
26299 const a = i.toValue()
26300 o[a] = this.convertKeyToRefract(a, s)
26301 }
26302 }),
26303 o
26304 )
26305 }
26306 deserialiseObject(s, o) {
26307 Object.keys(s).forEach((i) => {
26308 o.set(i, this.deserialise(s[i]))

Callers 2

serialiseMethod · 0.95

Calls 3

convertKeyToRefractMethod · 0.95
forEachMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected