From b217b0d6ce818520a94c47fe204ffe0e92f54bf3 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Tue, 26 Feb 2019 13:12:32 +0400 Subject: [PATCH] Fix README formatting --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 073ae64..9771ce7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,12 @@ For each value returned by a path, you'll also get the keys & indexes needed to This fork is owned and currently maintained by [WTFTeam](https://lab.wtfteam.pro). It's based on [that one](https://github.com/JumboInteractiveLimited/jsonpath) from Jumbo Interactive Limited, which sequentally based/copied from NodePrime/jsonpath Github repository, currently unavailable. The MIT license on this code is inherited from Jumbo Interactive Limited fork, so we can support and maintain this library freely. If there is by any chance someone's proprietary code, you can reach us by ``abuse wtfteam pro`` with details. Unless proved against all code here is licensed under MIT. ### Go Package + +Start with + +```shell go get lab.wtfteam.pro/wtfteam/jsonpath +``` ```go paths, err := jsonpath.ParsePaths(pathStrings ...string) { @@ -68,9 +73,6 @@ Expressions - static values like (`true`, `false`) - `@.value > 0.5` -Example: this will only return tags of all items that match this expression. -`$.Items[*]?(@.title == "A Tale of Two Cities").tags` - Example: ```javascript