Hi,
I am currently working on a migration project involving the transition of API proxies from Apigee OPDK to Apigee X. As part of this process, I am reviewing the documentation to identify differences at the policy level.
I came across this link that outlines the differences in JSON path notations between the two deployment models.
However, I am looking for a comprehensive guide that details JSON/XML path notations, including syntax variations, supported expressions, and any constraints in Apigee X.
Is there an official resource that provides a structured comparison of JSON/XML path expressions between Apigee OPDK and Apigee X? Any guidance or references would be greatly appreciated.
Thank you.
No, I don't believe there is a comprehensive guide .
The OPDK and Edge JSONPath was supported by v0.8.0 of the Jayway JSONPath library available for Java. With X and hybrid, Apigee moved to v2.9.0, I believe.
v0.8.0 was created in the early days of JSONPath before the standard was finalized . As the Jayway library matured, I don't think they published a release notes with specific changes. So there is no "comprehensive guide."
There is an online tool that allows you to evaluate the differences, and even gives some illustrations of where the differences creep in.
https://jsonpath-comparison.dchiesa.demo.altostrat.com/
With this tool, you can paste in your JSON and a JSONPath expression, and then evaluarte it against v0.8.0 and v2.9.0 at the same time, and see the differences, if there are any.
If you wanted to be more thorough about it, you could build a tool like this for yourself, that would automate the tests of all of your JSONPath expressions....
Hey there, thank you @dchiesa1 for your response. 😊
@muq_ash, I just wanted to jump in and let you know that tomorrow we will be having a deep dive session as part of our office hours series, in which we will be talking about the Apigee migration assessment tool with an expert.
You might want to consider joining the session tomorrow at 4:00 PM CET (11:00 AM EDT, 12:00 PM GMT-3). Feel free to register here ➡️ https://rsvp.withgoogle.com/events/apigee-emea-office-hours-2024/home.