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

Method fromJSON

projects/JavaScript/proto/protoex.js:4959–4961  ·  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

4957 * @returns {!object} Struct value for JSON
4958 */
4959 static fromJSON (json) {
4960 return BalanceMessage.fromObject(JSON.parse(json))
4961 }
4962
4963 /**
4964 * Create struct from object value

Callers

nothing calls this directly

Calls 2

fromObjectMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected