I'm using the "Get file content using path" to retrieve a PDF document from SharePoint.

In the subsequent "Set variable" action I then need to access the value of the $content property to build a json request like so:

This is currently not working for me as I am getting the following error in the "Parse JSON" action at runtime:
**BadRequest. The property 'content' must be of type JSON in the 'ParseJson' action inputs, but was of type 'application/pdf'.
The schema for my Parse JSON action looks as follow:
How can get the value of $content property from the "File Content" action output?
By the way below does not work
as my JSON ends up like this:
"Attachments": [
{
"AttachmentData": {
"$content-type": "application/pdf",
"$content": "JVBERi0xLjQN......."
},
"AttachmentName": "Hollow.pdf"
}
]