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

Method fromJSON

projects/JavaScript/proto/protoex.js:5758–5760  ·  view source on GitHub ↗

* Convert JSON to struct * @param {!string} json JSON string * @returns {!object} Struct value for JSON

(json)

Source from the content-addressed store, hash-verified

5756 * @returns {!object} Struct value for JSON
5757 */
5758 static fromJSON (json) {
5759 return AccountMessage.fromObject(JSON.parse(json))
5760 }
5761
5762 /**
5763 * Create struct from object value

Callers

nothing calls this directly

Calls 2

fromObjectMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected