Edit online

Oxygen XML Editor provides an XPath toolbar that makes it easy to quickly query JSON documents using XPath expressions. You can also use the dedicated XPath/XQuery Builder view that allows you to compose more complex XPath or XQuery expressions and execute them over JSON documents.

XPath Toolbar

When an XPath expression is run over a JSON document, the document is converted to XML and the XPath is executed over the converted XML document. For more information about this toolbar, see XPath Toolbar.

Figure 1: XPath Toolbar for JSON

XPath/XQuery Builder View

You can also use the XPath/XQuery view to run XPath and XQuery expressions over a JSON document. For XPath expressions, the document is converted to XML and the XPath is executed over the converted XML document. For XQuery, you need to reference the JSON document in your XQuery content. For more information about this view, see XPath Builder View.

Figure 2: XPath/XQuery Builder View for JSON