EditJsonParams<T>
Parameters for editJson.
Import:
import type { EditJsonParams } from 'obsidian-dev-utils/script-utils/json';Signature:
export interface EditJsonParams<T> extends EditJsonOptionsExtends: EditJsonOptions
Properties
| Property | Type | Description |
|---|---|---|
| path | string | The path to the JSON file. |
| shouldSkipIfMissing? | boolean | If true, skips editing if the file does not exist.(Inherited from EditJsonOptions) |
Methods
| Method | Returns | Description |
|---|---|---|
| editFn(this, data) | Promisable<void> | The function to edit the parsed JSON data. |
Links to this page: