How would experienced devs handle checking JSON objects for specific property condition?

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • JsonPath

    Java JsonPath implementation

  • Look into JSONPath and its one Java implementation.

  • jackson-module-jsonSchema

    Module for generating JSON Schema (v3) definitions from POJOs

  • Jackson with JSON schema. https://github.com/FasterXML/jackson-module-jsonSchema Jackson can do some level of validation when unmarshalling (depending on your schema) but any further validation can be easily done with the resulting Java objects and collections.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • JsonSurfer

    A streaming JsonPath processor in Java

  • I would use JsonSurfer (an implementation of JSONPath) to find the first non-matching object (see here):

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts