Tagged articles
JSONPath
36 articles · Page 1 of 1
This article introduces json-masker, a lightweight (~60 KB) zero-dependency Java library for masking sensitive fields in JSON, demonstrating up to 11x higher throughput than Jackson-based approaches with support for JSONPath, streaming API, allowlist/blocklist modes, and customizable masking strategies.
JSON maskingJSONPathSpring Boot
0 likes · 10 min read

This article explains how to simplify handling deeply nested JSON responses in Spring Boot by creating a custom @JsonPath annotation that leverages JsonPath expressions, allowing one‑line extraction, filtering, and modification of JSON data directly in controller method parameters.
Argument ResolverCustom AnnotationJSON parsing
0 likes · 10 min read

This guide shows how to mask sensitive fields like phone numbers and ID cards in Spring Boot responses without modifying business code, using a global ResponseBodyAdvice, JsonPath rules defined in application.yml, and optional custom @Masking annotation for fine-grained control.
Custom AnnotationJSONPathJackson
0 likes · 9 min read

JSONPath offers a concise, XPath‑like syntax for extracting data from complex JSON structures, and this guide shows how to integrate it into Spring Boot, compare FastJSON, Jackson, and Gson implementations, and provides practical code examples, advanced configurations, and selection advice for Java projects.
FastjsonGsonJSONPath
0 likes · 13 min read

This guide explains why traditional dict.get() approaches fail on deep JSON, introduces the powerful jsonpath-ng library, demonstrates five common extraction patterns, shows how to integrate it into pytest automation with reusable utilities, and warns about typical pitfalls.
API testingJSONPathPython
0 likes · 7 min read

This article walks through a real‑world Python problem of extracting nested soccer odds from a JSON file, comparing pandas read_json, jsonpath, and regex approaches, and ultimately presenting a complete pandas‑based solution that normalizes the data, cleans it with a helper function, and exports it to CSV.
JSONJSONPathPython
0 likes · 6 min read

This article introduces JSONPath as a query language for JSON, explains its core concepts and basic syntax with examples, demonstrates various practical use cases such as data extraction, API testing, and shows tool support across Python, Java, and JavaScript.
JSONJSONPathJava
0 likes · 6 min read

This guide shows how to use JSONPath within a Spring Boot 3.4.0 project to efficiently query, filter, and modify complex JSON structures, providing Maven setup, syntax overview, operator tables, and practical code examples for extracting authors, prices, books, and applying custom filters.
JSONJSONPathJava
0 likes · 10 min read

This article compares six popular Java JSON parsing solutions—Jackson, Gson, FastJSON, JsonPath, org.json, and manual parsing—detailing their features, code examples, advanced options, and pros and cons to help developers choose the right tool for various scenarios.
GsonJSONJSONPath
0 likes · 13 min read

Java developers can parse JSON using six popular approaches—Jackson for high‑performance, annotation‑driven serialization; Gson for a lightweight, easy‑to‑use API; FastJSON for speed; JsonPath for XPath‑style nested extraction; org.json for simple utility; or manual parsing for full control—each suited to different performance and complexity needs.
FastjsonGsonJSON
0 likes · 9 min read

This article compares six popular Java JSON parsing approaches—Jackson, Gson, FastJSON, JsonPath, org.json, and manual parsing—detailing their features, code samples, advanced options, and pros and cons to help developers choose the right tool for their projects.
FastjsonGsonJSON
0 likes · 12 min read

This article explains how to create and use a Python JSONPath decorator to simplify extracting data from JSON, covering installation, basic and advanced use cases such as list handling, filtering, aggregation, asynchronous processing, API parsing, validation, dynamic path generation, and nested data extraction, with full code examples.
DecoratorJSONPathasync
0 likes · 6 min read

This article explains a simplified Python method for extracting and downloading watermark‑free Douyin videos by inspecting network requests, using the jsonpath library, and automating the download process with concise code, while also discussing its advantages and current limitations.
DouyinJSONPathvideo download
0 likes · 5 min read

This tutorial demonstrates adding JsonPath to a Spring Boot project, using DSL‑style expressions to extract authors, titles, counts and filtered data from a sample JSON payload, and shows how to drive the extraction dynamically via configurable mappings with fastjson and hutool.
DSLFastjsonHutool
0 likes · 7 min read

This article introduces Redis Stack’s RedisJSON module, explains its JSONPath syntax, details the full set of JSON commands for handling various data types, provides practical code examples, and highlights how RedisJSON enables Redis to function as a document, full‑text, and vector search database.
CLIJSONPathNoSQL
0 likes · 9 min read

This article presents a comprehensive backend automated testing framework that unifies HTTP and RPC access, introduces a parameter‑pool concept, leverages JSON Schema and JSONPath for validation, and outlines coverage metrics, test case generation, discovery, and continuous improvement to achieve near‑100% API test coverage.
API testingBackendJSON Schema
0 likes · 21 min read

This guide shows how to install, import, and use the JMESPath and JsonPath Python modules to perform basic and advanced queries on JSON data, including example scripts that filter, sort, and extract specific fields.
Data QueryJMESPathJSON
0 likes · 9 min read

The article presents a language‑agnostic, low‑maintenance automated backend interface testing system that unifies HTTP and RPC calls, uses a parameter pool, JSON Schema and JSONPath for assertions, generates test cases from live traffic, measures coverage, and continuously updates suites to achieve near‑full coverage.
JSON SchemaJSONPathMQ scheduling
0 likes · 22 min read

This tutorial shows how to install the JsonPath library, retrieve JSON data from an API, and use both traditional indexing and powerful JsonPath expressions—including filters, wildcards, and slicing—to efficiently extract nested values for automated testing.
API testingJSON extractionJSONPath
0 likes · 7 min read

This article walks through a Python community member's JSON‑processing problem, explores several solutions using pandas, jsonpath, and regular expressions, and presents a final script that normalizes the data into a tidy CSV for further analysis.
JSONPathPandasdata processing
0 likes · 6 min read

This article introduces JsonPath as a DSL for reading JSON data in Java, demonstrates Maven integration, provides code examples for extracting and renaming JSON fields, and mentions the jq command‑line tool for additional JSON manipulation.
DSLJSONJSONPath
0 likes · 4 min read

This article demonstrates a simpler method for extracting and downloading watermark‑free Douyin (TikTok) videos by inspecting network requests, locating the hidden video URLs, and using a Python script with the jsonpath library to automate the retrieval process.
DouyinJSONPathvideo-download
0 likes · 5 min read

This guide introduces FastJSON 2.0—a high‑performance JSON/JSONB library for Java—covers Maven configuration, key classes and methods, how to serialize and deserialize Java objects, and demonstrates powerful JSONPath queries for partial data extraction.
JSONPathJavaMaven
0 likes · 9 min read

This article introduces FastJSON 2.0, explains how to add the Maven dependency, outlines the main classes and methods for JSON, JSONB, and JSONPath, and provides code examples for serializing and deserializing Java objects as well as partial parsing with JSONPath.
JSONJSONPathJava
0 likes · 10 min read

This article explains a streamlined method to extract and download watermark‑free Douyin short videos by inspecting network requests, locating hidden video URLs, and using a concise Python script with the jsonpath library, highlighting its advantages and remaining limitations.
DouyinJSONPathPython
0 likes · 5 min read

This tutorial walks through four effective techniques—including regular expressions and three jsonpath approaches—to extract the follower and ddate fields from a JSON file using Python, complete with code snippets and example outputs.
JSONPath
0 likes · 6 min read

This article demonstrates a simpler method to obtain water‑marked‑free Douyin video URLs by inspecting network requests, extracting hidden links, and using a Python script with the jsonpath library to download videos directly, highlighting advantages and remaining limitations.
APIDouyinJSONPath
0 likes · 4 min read

This guide explains how to collect TiDB metrics via its HTTP monitoring API, preprocess the data into JSON, create master and regular items in Zabbix, and configure triggers using Prometheus‑style expressions to achieve effective TiDB monitoring.
JSONPathMetricsPrometheus
0 likes · 7 min read

This guide walks you through IntelliJ IDEA 2021’s revamped Profiler, the new microservice call‑graph analysis for Spring Boot, Micronaut and Quarkus, the Docker‑based run configurations, and the built‑in JSONPath expression debugger, showing how to leverage each feature to improve development efficiency.
DockerIntelliJ IDEAJSONPath
0 likes · 3 min read

This article explores how to accurately measure QPS in Java performance‑testing scripts by using JsonPath and regular‑expression validation, analyzes error margins under different thread and iteration configurations, and demonstrates that exception handling has minimal impact on overall throughput.
JSONPathJavaOperations
0 likes · 8 min read

This article walks through the design and implementation of a custom JsonPath validation library using Groovy operator overloading, detailing the core enums, verification bean, arithmetic handling, and practical demo code, while providing repository links for Gitee and GitHub.
BackendGroovyJSONPath
0 likes · 9 min read

This article introduces a Groovy‑based Verify utility that overloads arithmetic and comparison operators to simplify JsonPath response validation, eliminating manual type conversions and enabling expressive syntax for front‑end test cases.
GroovyJSONPathVerification
0 likes · 9 min read

This article walks through the creation of a Groovy‑compatible JsonPath utility library, explaining its design, key methods for extracting various data types, a custom verification helper, and how to test it later with the Spock framework.
GroovyJSONPathJava
0 likes · 6 min read

The article explains how to use Groovy's operator‑overloading features to create a JSONPath‑style verification DSL, detailing which operators are implemented, the challenges with sign‑conversion operators, and providing a full example class with logging for each overloaded operator.
API testingDSLGroovy
0 likes · 5 min read

This tutorial demonstrates how to use JsonPath combined with regular expressions to filter JSON arrays, perform case‑insensitive matches, and discuss the limitations of regex validation on node values, providing concrete Java code examples and console outputs.
BackendJSONJSONPath
0 likes · 5 min read

JSONPath, analogous to XPath for XML, enables efficient querying of JSON data; this article introduces its concepts, demonstrates how to integrate Fastjson's JSONPath in Java, provides syntax examples, and showcases a simple code demonstration with expected output.
Data QueryFastjsonJSONPath
0 likes · 3 min read
