modesty / modesty/pdf2json

complete pdf content into json format

Open
#140 1 comment 0 reactions 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

I am using this module to get complete content from pdf in json format but only fields save in json format without content
i am facing this issue , any one can help ?

{
"formImage": {
"Transcoder": "pdf2json@1.1.7 [https://github.com/modesty/pdf2json]",
"Agency": "",
"Id": {
"AgencyId": "",
"Name": "",
"MC": false,
"Max": 1,
"Parent": ""
},
"Pages": [
{
"Height": 49.5,
"HLines": [],
"VLines": [],
"Fills": [
{
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"clr": 1
}
],
"Texts": [],
"Fields": [],
"Boxsets": []
},
{
"Height": 63,
"HLines": [],
"VLines": [],
"Fills": [
{
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"clr": 1
}
],
"Texts": [],
"Fields": [],
"Boxsets": []
}
],
"Width": 38.25
}
}

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 reproducing the report with the PDF that produces the shown JSON, focusing on why each page has an empty Texts array. Compare the output with the PDF's expected text content, then verify that extracted content appears in the JSON without losing the existing page fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.