Table of Contents

Quick Take

Delete an array item by its dot-path index

Delete a nested object key

Minimal example, del()

Minimal example, set()

Replace an existing array item by its dot-path index

Replace an existing nested value with null

Set a numeric value without changing surrounding formatting

Replace an object value while preserving outer formatting