Results for “Metadata & document links”
Small, practical examples. Search by task or narrow things down below.
Read a JSON property
Parse a JSON document and dispose it after reading in C#.
C#✓ Tested
Read a JSONB field as text
Extract a nested value from a JSON document.
jsonb✓ Tested
Read elements from trusted XML
Python: Use ElementTree to inspect a small trusted XML document.
Python✓ Tested
Read the byte size of a regular file
C++: file_size reads filesystem metadata without loading file contents.
C++✓ Tested
Represent removed and inserted text
HTML: Del and ins record a textual change while retaining both versions in the document.
HTML✓ Tested
Save and reload an image archive
Docker / Compose: save preserves image metadata and tags for later loading.
Docker / Compose✓ Tested
Scale a value from the root font size
CSS: Rem units follow the document root instead of accumulating through nested font sizes.
CSS✓ Tested
Set a JSON property
Create an updated JSON document from existing text.
json_set✓ Tested
Store a variable-length payload after a structure header
C: A flexible array member lets one allocation hold metadata and trailing bytes.
C✓ Tested