Run jq filter on circe json objects.
For more detail go here.
Inspired by scalajq
- Identity
json.jq(".") - Object Identifier-Index
json.jq(".name")
json.jq(".[name]")
json.jq(""".["name"]""") - Optional Object Identifier-Index
json.jq(".name?")
json.jq(".[name]?")
json.jq(""".["name"]?""") - Generic Object Index
json.jq(""".["name"]""")
json.jq(""".["name"]?""") - Array Index
json.jq(".[1]") - Array/String Slice
json.jq(".[1:3]") - Pipe
json.jq(".user | .name") - Object creation
json.jq("{key:.value}")
circe-jq
Copyright 2022 ThatScalaGuy
Licensed under Apache License 2.0 (see LICENSE)