MCPcopy Create free account
hub / github.com/CodinGame/monaco-vscode-api / serialize

Method serialize

demo/src/features/customView.workbench.ts:159–165  ·  view source on GitHub ↗
(editor: CustomEditorInput)

Source from the content-addressed store, hash-verified

157 }
158
159 serialize(editor: CustomEditorInput): string | undefined {
160 const serializedFileEditorInput: ISerializedCustomEditorInput = {
161 resourceJSON: editor.resource?.toJSON()
162 }
163
164 return JSON.stringify(serializedFileEditorInput)
165 }
166
167 deserialize(
168 instantiationService: IInstantiationService,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected