editJson
editJson(
source,path,value,options?):string
Defined in: packages/format-json/src/edit.ts:33
Sets value at path in a JSON string and returns the updated source.
See createJsonEdits for fidelity notes.
Parameters
Section titled “Parameters”source
Section titled “source”string
PropertyPath
unknown
options?
Section titled “options?”Returns
Section titled “Returns”string