JSONata Tutorial

Learn JSONata through interactive exercises

What is JSONata?

JSONata is a lightweight query and transformation language for JSON data. Inspired by XPath, it allows you to extract, transform, and query JSON data with a concise and powerful syntax.

This interactive tutorial will help you master JSONata through hands-on exercises, starting from simple mappings to advanced data transformations.

15 Exercises

Progressively build your skills from beginner to advanced level

Instant Feedback

See your results in real-time as you write JSONata expressions

Progress Saved

Your work is automatically saved in your browser

Real-World Examples

Learn with practical examples from actual data transformation scenarios

Tutorial Topics

  • Simple Mapping(2 exercises)
  • Array Mapping(3 exercises)
  • Calculation & Aggregation(6 exercises)
  • Conditionals(2 exercises)
  • Functions(2 exercises)