这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: gxdvip/gjson

Tags

v1.3.5

Toggle v1.3.5's commit message
Fixed modifier pipe issue

This commit fixes an issue where chaining modifiers that used a
string arg would fail to process the modifier following the first.

fixes tidwall#143

v1.3.4

Toggle v1.3.4's commit message
Fix trailing multiselector value

v1.3.3

Toggle v1.3.3's commit message
Add link to multipaths

v1.3.2

Toggle v1.3.2's commit message
Fix panic when key starts at-sign

v1.3.1

Toggle v1.3.1's commit message
Support subqueries

It's now possible to do a query like

  topology.instances.#(service_roles.#(=="one"))#.service_version

On a JSON document such as

  {
    "topology": {
      "instances": [{
        "service_version": "1.2.3",
        "service_roles": ["one", "two"]
      },{
        "service_version": "1.2.4",
        "service_roles": ["three", "four"]
      },{
        "service_version": "1.2.2",
        "service_roles": ["one"]
      }]
    }
  }

Resulting in

  ["1.2.3","1.2.2"]

v1.3.0

Toggle v1.3.0's commit message
Fix missing raw result for array counts

v1.2.2

Toggle v1.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update README.md

v1.2.1

Toggle v1.2.1's commit message
Fixed chained array result

v1.2.0

Toggle v1.2.0's commit message
Added modifiers and path chaining

A modifier is a path component that performs custom processing on
the json.

Multiple paths can be "chained" together using the pipe character.
This is useful for getting results from a modified query.

See the README file for more information.

v1.1.6

Toggle v1.1.6's commit message
Valid json optimization

Added ~20% performance boost be removing extra allocation when
Valid() is called with a json string.