• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Convert JSON to HTML

New Here ,
Mar 06, 2024 Mar 06, 2024

Copy link to clipboard

Copied

Hi,

My requirement is converting the pdf to html with the applied styles. 

I converted the pdf to json using adobe pdf services api. I need the help to convert the json to html without changing the styles.

Example:  The generated json is

{
"Bounds": [
280.5,
671.7960052490234,
352.5,
687.7920074462891
],
"Font": {
"alt_family_name": "Times New Roman PS",
"embedded": false,
"encoding": "WinAnsiEncoding",
"family_name": "Times New Roman PS",
"font_type": "TrueType",
"italic": false,
"monospaced": false,
"name": "TimesNewRomanPS-BoldMT",
"subset": false,
"weight": 700
},
"HasClip": false,
"Lang": "en",
"Page": 5,
"Path": "//Document/H1[5]",
"Text": "Sample Page ",
"TextSize": 12.0,
"attributes": {
"LineHeight": 14.375,
"TextAlign": "Center"
}
}

 

In html, the output should be "Sample Page" with the H1 heading.

Is it possible to do this? If yes, please guide me

 

TOPICS
PDF

Views

60

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2024 Mar 06, 2024

Copy link to clipboard

Copied

LATEST

This is not related to Adobe Acrobat.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines