Skip to content

Consider compiled JsonPath execution plan #128

Description

@simbo1905

JsonPath evaluation currently walks the AST directly (interpreter-style).

We have some ongoing work in May 2026 to support two JDT versions:

  1. The original Java 21 interpreted version, which is fine for one-time config loading, or infrequent code paths
  2. A Java24+ bytecode generator that makes Java21 bytecode, which is for hot path validation, where the compiling can be ahead of time to deploy validators that were generated by a build system. (Yet it can of course also be run on demand in a JDK, yet hot deploy of new schema validators seems a rather niche use case.)

This ticket serves as a marker to follow the same patterns as the JSON Path engine. Have the interpreted version and a parallel bytecode-generated version that can be run as a build-time tool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions