MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / toJSON

Method toJSON

projects/JavaScript/proto/test.js:326–328  ·  view source on GitHub ↗

* Convert enum to JSON * @this {!EnumTyped} * @returns {!number} Enum value for JSON

()

Source from the content-addressed store, hash-verified

324 * @returns {!number} Enum value for JSON
325 */
326 toJSON () {
327 return this.value
328 }
329
330 /**
331 * Create enum from object value

Callers 2

toJSONMethod · 0.45
toJSONMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected