← Tools

JSONPath Tester

JSON paste korun, ekta JSONPath expression likhun ar dekhun ki select hoy.

Private: apnar files apnar device er baire jay na.

Result

JSONPath cheat sheet
LikhunJa paben
$Puro document (root)
.name ['name']Naam diye ekta field (space ba symbol thaka naam er jonno quote use korun)
[0] [-1]List er ekta item tar position diye, shuru theke ba shesh theke
[0:3] [::2] [::-1]Ekta slice: start:end:step (end bad thake)
* [*]Protiti field ba item
..name ..*Protiti depth e search
[0,2] ['a','b']Ek sathe kayekta
[?@.price < 10]Ekta filter: je item e test true (@ holo current item)
== != < <= > >=Number, text, true, false ar null compare korun
&& || ! ( )And, or, not, grouping
[?@.isbn]Je item e field ta ache
length(@.tags)Text, list ba object er length
count(@.*)Ekta query koyta node pay
match(@.id, 'A-[0-9]+')Puro text ekta regular expression er sathe mile
search(@.name, 'smith')Text er kothao ekta match ache
value(@..price)Ekta query je single value pay

Ei tool JSONPath standard (RFC 9535) follow kore ar tar official test suite pass kore. Puraton tool er (@.length-1) ar =~ er moto script expression standard er ongsho na: error message e standard upay ta dekhano hoy.

Type korar sathe sathe result update hoy. Boro number er protiti digit thik thake. Sob kichu apnar device ei hoy; apni ja paste koren kichui upload hoy na.

Kivabe kaaj kore

  1. Apnar files select korun.
  2. Chaile settings bodlan.
  3. Result download korun, ba BroAllDone diye onno device e pathan.

Prayi jiggesh kora proshno

JSONPath ki?

JSON theke value ber korar ekta chhoto upay, jemon $.store.book[0].title. $ holo puro document, dot ba [ ] diye ekta field ba list er bhetor jaoa hoy, ar .. protiti depth e search kore. Onek API, database ar kubectl ba Postman er moto tool eta use kore.

JSONPath e item kivabe filter korbo?

? er sathe ekta test use korun, jekhane @ holo current item: $..book[?@.price < 10] dile 10 er cheye sasta book gulo paben. Test gulo && ar || diye jurun, ar not er jonno ! use korun.

Ei tool kon JSONPath syntax use kore?

Official standard, RFC 9535, ar eta standard er compliance test suite pass kore. Er moddhe ache filter, slice, length(), count(), match(), search() ar value() function, ar normalized path.

Onno tool er expression ekhane kaj kore na keno?

Puraton tool e (@.length-1), =~ ba in er moto extra jinish chhilo ja standard e nei. Error message e standard upay ta dekhano hoy, jemon shesh item er jonno [-1] ba regular expression er jonno match().

Protiti match er path kivabe pabo?

Show e Paths, ba Paths ar values select korun. Path normalized ($['store']['book'][0]) ba dot style e ($.store.book[0]) hote pare.

Amar JSON ki upload hoy?

Na. Sob kichu apnar browser ei chole, tai API response, configuration file ar private data nishchinte test korte paren. Boro number er protiti digit thik thake.

Aro free tools