FIND YOUR NEXT FEW LINES
Results for “objects”
Small, practical examples. Search by task or narrow things down below.
22 snippets foundClear filters
Merge object settings
Use object spread to apply JavaScript overrides to defaults.
JavaScript✓ Tested
Parse JSON text
Read a JavaScript object from JSON text.
JavaScript✓ Tested
Read a JSON file
Load a JSON document from disk into Python objects using an explicitly selected text encoding.
json✓ Tested
Read a nested value safely
Combine optional chaining with nullish coalescing in JavaScript.
JavaScript✓ Tested
Read a scalar JSON property
Extract a named value using a JSON path.
JSON_VALUE✓ Tested
Read rows from CSV text
Parse CSV into objects with named properties.
CSV✓ Tested
Replace the URL of a configured remote
Git: set-url changes configuration without fetching or pushing any objects.
Git✓ Tested
Serialize an object
Turn a JavaScript object into JSON text.
JavaScript✓ Tested
Sort and deduplicate values
Produce an ordered list without duplicates.
Sort-Object✓ Tested
Sum a collection
Calculate a total with Measure-Object.
Measure-Object✓ Tested