(
path: string,
value: unknown,
options?: StateJsonWriteOptions
)
| 126 | } |
| 127 | |
| 128 | async writeJson( |
| 129 | path: string, |
| 130 | value: unknown, |
| 131 | options?: StateJsonWriteOptions |
| 132 | ): Promise<void> { |
| 133 | await this.writeFile( |
| 134 | path, |
| 135 | stringifyJsonFileContent(value, path, options?.spaces) |
| 136 | ); |
| 137 | } |
| 138 | |
| 139 | async queryJson(path: string, query: string): Promise<unknown> { |
| 140 | return queryJsonValue(await this.readJson(path), query); |
nothing calls this directly
no test coverage detected