mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
sort json by default
This commit is contained in:
@@ -400,7 +400,7 @@ let json_of_pdf
|
|||||||
(fun i pdfobj ->
|
(fun i pdfobj ->
|
||||||
ps := (i, json_of_object pdf fcs no_stream_data parse_content pdfobj)::!ps)
|
ps := (i, json_of_object pdf fcs no_stream_data parse_content pdfobj)::!ps)
|
||||||
pdf;
|
pdf;
|
||||||
parameters::trailerdict::!ps
|
parameters::trailerdict::sort compare !ps
|
||||||
in
|
in
|
||||||
let pairs_parsed =
|
let pairs_parsed =
|
||||||
if not parse_content then pairs else
|
if not parse_content then pairs else
|
||||||
|
Reference in New Issue
Block a user