Tutorial

How to Load URL Content into a JSON Editor

Sometimes the best editor link is not a pasted sample but a hosted document. Treease supports URL-backed editor presets so landing pages and support docs can open live or maintained samples directly in the editor.

When URL-backed input is useful

URL-backed input works well when the sample is maintained elsewhere, when the payload is too large for a practical query string, or when the same landing page should always reflect a current example document.

Treease supports source-editor loading and right-side preview loading through dedicated URL parameters so the same mechanism can power import, reference, and compare tutorials.

Source and preview URL parameters

Practical use cases

  • Hosted sample payloads in product documentation.
  • Support links that open the editor with a known reference document.
  • Comparison landing pages that point to a baseline file and a current file.

FAQ

Short answers that search and generative engines can quote directly.

Which Treease parameter loads JSON from a URL?

Use `textUrl` to load fetched content into the source editor. Use `rightTextUrl` to load fetched content into the right-side preview pane.