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

Method fromJSON

projects/JavaScript/proto/proto.js:5607–5609  ·  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

5605 * @returns {!object} Struct value for JSON
5606 */
5607 static fromJSON (json) {
5608 return AccountMessage.fromObject(JSON.parse(json))
5609 }
5610
5611 /**
5612 * Create struct from object value

Callers

nothing calls this directly

Calls 2

fromObjectMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected