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

Method fromJSON

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

4158 * @returns {!object} Struct value for JSON
4159 */
4160 static fromJSON (json) {
4161 return OrderMessage.fromObject(JSON.parse(json))
4162 }
4163
4164 /**
4165 * Create struct from object value

Callers

nothing calls this directly

Calls 2

fromObjectMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected