Improved

Enhanced JSON Editing for Feature Flag Return Values


We’ve upgraded the editing and viewing experience for JSON-based feature flag return values in Toggle, making it easier to work with complex objects confidently and efficiently.

Whether you're returning structured configuration, multi-variant payloads, or nested objects, the new editor experience is designed to reduce mistakes and improve clarity.

What’s new

  • Syntax highlighting for improved readability
  • Line numbers for easier debugging and collaboration
  • Collapsible sections for navigating large or deeply nested JSON objects
  • Improved formatting and validation feedback

What this means for you

Feature flags are increasingly used to return structured data, not just booleans.

With enhanced JSON editing:

  • 🧠 Large payloads are easier to understand
  • 🔎 Nested structures are easier to navigate
  • 🛠 Debugging is faster with line references
  • ⚠️ Syntax errors are easier to spot before saving
  • 🤝 Teams can collaborate more effectively with consistent formatting

Things to know

  • Applies to all JSON-based feature flag return values
  • Existing flags automatically benefit from the new experience
  • No configuration changes required

This update makes working with advanced feature flags feel less like editing raw text, and more like working in a modern development environment.