fromJSON
@twine-protocol/twine-core v0.1.0 • Docs
twine-js / @twine-protocol/twine-core / fromJSON
Function: fromJSON()
Convert a DAG-JSON encoded twine into a twine instance
This is one of the primary ways to read twine data.
Throws an error if the data is invalid.
Parameters
Parameter
Type
json
string
| object
Returns
Defined in
Last updated