modesty / modesty/pdf2json

Characters in field name replaced with underscore

Open
#88 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

It seems the closest correlation to a field name in the parser output is the "id.Id" attribute. However, I'm seeing some characters (my guess is non-alphanumeric) being replaced with underscores.

Is it possible to provide a field that is the pure field name? I think it would be really useful as tools like PDFFiller and PDFTK don't give nearly as much detail about form fields as pdf2json.

Note: moved details to follow up comment.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the parser produces the id.Id field and how non-alphanumeric characters in PDF form field names become underscores. Reproduce the behavior with a PDF form containing such names, then verify that the output also exposes the unchanged field name without losing the existing identifier.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.