How can I extrac data from PDF to format JSON?

I've been tried to make a conversion Data PDF to json format, If anyone has some tips to help me with functions, node or the especific node "node-red-contrib-pdfjs-mac".

I don't use a Mac for node-red. Are you sure that the source PDF isn't an image format? Not all PDF types allow extract of data.

Also, what have you tried so far.

PS: Changed to general category and removed uibuilder tag.