Skip to content

EditJsonSyncParams<T>

Parameters for editJsonSync.

Import:

import type { EditJsonSyncParams } from 'obsidian-dev-utils/script-utils/json';

Signature:

export interface EditJsonSyncParams<T> extends EditJsonSyncOptions

Extends: EditJsonSyncOptions

Properties

PropertyTypeDescription
pathstringThe path to the JSON file.

Methods

MethodReturnsDescription
editFn(this, data)voidThe function to edit the parsed JSON data.

Links to this page: