JSONPath without JavaScript

I am in  a situation where I can not use JavaScript, only JSONPath

With the following JSON object

{"string":"abc"}

Open in new window


I use the following PSONPath expression

$.string

Open in new window


Could someone tell me if this is not possible with JSONPath?  Because, if so I will go in another direction, but JSONPath would be much preferable.

Thanks

... and I get the following result

"abc"

Open in new window


Is there any way within JSONPath to extract the value without the quotes, so I just see the following:

abc

Open in new window

Anthony LuciaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aikimarkCommented:
If you can't use javascript, does that mean you're using PHP?  If not, what language are you using?
0
Anthony LuciaAuthor Commented:
I researched this and found that there is not a way to perform this within JSONPath
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aikimarkCommented:
@Anthony

Are you using PHP?
0
Anthony LuciaAuthor Commented:
No response was given, and in my research I found an answer to my question.  The answer was that there is no way to do what I had asked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Services

From novice to tech pro — start learning today.