Skip to content

pdf-object: add typed lookup helpers#207

Merged
Velli20 merged 2 commits into
mainfrom
feat-typed-lookup-helpers
Jul 7, 2026
Merged

pdf-object: add typed lookup helpers#207
Velli20 merged 2 commits into
mainfrom
feat-typed-lookup-helpers

Conversation

@Velli20

@Velli20 Velli20 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Add shared lookup extensions for dictionaries and arrays so callers can read optional and required typed values through one API.

Update PDF parsing code to use the helpers and consistently treat missing or null optional values as absent.

Add shared lookup extensions for dictionaries and arrays so callers can
read optional and required typed values through one API.

Update PDF parsing code to use the helpers and consistently treat missing
or null optional values as absent.

Co-authored-by: Codex <codex@openai.com>
@Velli20 Velli20 force-pushed the feat-typed-lookup-helpers branch 6 times, most recently from 2dfc10d to fa64b99 Compare July 7, 2026 22:21
Change string lookup helpers to return borrowed &str values and report
invalid UTF-8 as a typed object error.

Update downstream parsers to allocate explicitly only where owned
strings are still needed.

Co-authored-by: Codex <codex@openai.com>
@Velli20 Velli20 force-pushed the feat-typed-lookup-helpers branch from fa64b99 to 0049e3b Compare July 7, 2026 22:21
@Velli20 Velli20 merged commit 227ec33 into main Jul 7, 2026
4 checks passed
@Velli20 Velli20 deleted the feat-typed-lookup-helpers branch July 7, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants