Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/basecamp/trix
/ fromJSONString
Method
fromJSONString
src/trix/core/object.js:7–9 ·
view source on GitHub ↗
(jsonString)
Source
from the content-addressed store, hash-verified
5
6
export
default
class
TrixObject extends BasicObject {
7
static fromJSONString(jsonString) {
8
return
this.fromJSON(JSON.parse(jsonString))
9
}
10
11
constructor() {
12
super(...arguments)
Callers
2
drop
Method · 0.45
serialization.js
File · 0.45
Calls
2
fromJSON
Method · 0.45
parse
Method · 0.45
Tested by
no test coverage detected