llamaindexfunctionsFunction: docToJson()On this pageFunction: docToJson() docToJson(doc, serializer): DocJson<unknown> Parameters • doc: BaseNode<Metadata> • serializer: Serializer<unknown> Returns DocJson<unknown> Defined in packages/core/storage/doc-store/dist/index.d.ts:16