Skip to content

Instantly share code, notes, and snippets.

Created June 15, 2017 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/21ad44907b2af2796d5908c7dc448f45 to your computer and use it in GitHub Desktop.
Save anonymous/21ad44907b2af2796d5908c7dc448f45 to your computer and use it in GitHub Desktop.
the description for this gist
def modifyWithoutOptics(json: io.circe.Json): io.circe.Json =
json.hcursor.
downField("order").
downField("address").
downField("street").
withFocus(_.mapString(_.toUpperCase)).top.get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment