GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Literate Java
  • About
  • Java language
  • June 12, 2025
  • Tom
  • OO design
  • Why inheritance never made any sense
  • engineering
  • JVM
  • How to Debug Tests Run Externally
  • December 10, 2017
  • Uncategorized
  • How to Crash the JVM in Three Lines of Code
  • Value Types & List<int> coming for Java 10 ?

This view

  • Original page
  • New address

GeezerVison is showing literatejava.com — Java language | Literate Java

When working with JSON in Java, Jackson’s JsonNode tree model is a popular choice — especially in framework code that processes or transforms data. But what if you want to query that tree using flexible JsonPath expressions?

Jayway JsonPath is a powerful tool, but using it with pre-parsed Jackson trees isn’t as obvious as you’d think — especially when you’re aiming for safe, predictable behavior in production.

In this post, I’ll share a few techniques I found helpful for reliably applying JsonPath to JsonNode trees, making your queries safer, clearer, and better suited to framework-level code.

Continue reading →
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.