MCPcopy
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
6export 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

dropMethod · 0.45
serialization.jsFile · 0.45

Calls 2

fromJSONMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected