IJSONWorker
ts
interface IJSONWorker {
getMatchingSchemas(uri): Promise<MatchingSchema[]>;
parseJSONDocument(uri): Promise<JSONDocument>;
}getMatchingSchemas
- 语法:
getMatchingSchemas(uri): Promise<MatchingSchema[]> - 参数:
uri:string - 返回值:
Promise<MatchingSchema>
parseJSONDocument
- 语法:
parseJSONDocument(uri): Promise<JSONDocument> - 参数:
uri:string - 返回值:
Promise<JSONDocument>
