Class DefaultJsonSerializer

Utility service for transforming an AstNode into a JSON string and vice versa.

Implements

Constructors

Properties

astNodeLocator: AstNodeLocator
commentProvider: CommentProvider
currentDocument: undefined | LangiumDocument<AstNode>

The document that is currently processed by the serializer; this is used by the replacer function.

ignoreProperties: Set<string> = ...

The set of AstNode properties to be ignored by the serializer.

langiumDocuments: LangiumDocuments
nameProvider: NameProvider

Methods