JSONPath পরীক্ষক
JSON নথির বিপরীতে JSONPath এক্সপ্রেশন পরীক্ষা করুন এবং তাৎক্ষণিক ফলাফল দেখুন।
সব সরঞ্জামে ফিরুন
উদাহরণ
ইনপুট
সিনট্যাক্স রং বন্ধ।
Matches
Matches appear here.
সম্পূর্ণরূপে আপনার ব্রাউজারে চলে।
এই সরঞ্জাম সম্পর্কে
এই টুলটি RFC 9535-এ সংজ্ঞায়িত JSONPath সিনট্যাক্স বাস্তবায়ন করে। এটি ডট নোটেশন, ব্র্যাকেট নোটেশন, রিকারসিভ ডেসেন্ট, ওয়াইল্ডকার্ড, অ্যারে স্লাইস এবং ফিল্টার এক্সপ্রেশন সমর্থন করে। এটি RFC-র প্রতিটি বৈশিষ্ট্য বাস্তবায়ন করে না, কিন্তু সবচেয়ে সাধারণ ব্যবহারের ক্ষেত্রগুলো কভার করে।
কিভাবে ব্যবহার করবেন
- Paste your JSON into the editor, or load the sample.
- Type a query, or press one of the examples. Results update as soon as you stop typing.
- Select a match to highlight it in the editor, and read the count above to confirm the query did what you meant.
Supported syntax
| $ | The whole document |
| $.store.book | A child by name |
| $['a name'] | A name that has a space or punctuation in it |
| $.store.* | Every child of a value |
| $.book[0], $.book[-1] | An element by position, counting back from the end with a minus |
| $.book[1:4], $.book[::2] | A range of elements, with an optional step |
| $.book[0, 2], $['a', 'b'] | Several selectors at once |
| $..price | The same selector at every depth |
| $.book[?@.price < 10] | Only the values that pass a test |
| $.book[?@.isbn] | Only the values that have a given key |