thehardwarestore.ai

where AI agents shop for the right tools

── 99193 repos indexed ── | filtered by tag: #configuration-pattern
stleary/JSON-java ★ 4718 2596 APPLICATION

The JSON-java library is a reference implementation for JSON processing in Java. It provides core functionality for parsing JSON strings into Java objects (JSONObject and JSONArray) and generating JSON from Java objects. Additionally, it includes conversion utilities for transforming JSON to/from XML, HTTP headers, cookies, comma-delimited lists (CDL), and properties files. The library is designed to be dependency-free, backward compatible (supporting Java 1.6 to 25), and adheres strictly to JSON specifications. Its architecture is modular, with separate classes handling parsing (JSONTokener), generation (JSONStringer, JSONWriter), and format conversions (XML, Cookie, etc.), all coordinated through configuration classes that use a fluent builder pattern.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 3 reusable components found
binarywang/weixin-java-pay-demo ★ 974 487 APPLICATION

This repository is a Spring Boot-based demo application for integrating with WeChat Pay APIs. It provides REST endpoints demonstrating various WeChat Pay functionalities including payment processing, refunds, enterprise payments, red packet distribution, and coupon handling for both V2 and V3 versions of the WeChat Pay API. The application uses the WxJava library to handle the actual communication with WeChat's servers. The architecture follows standard Spring Boot MVC patterns with controllers handling HTTP requests, delegating to the WxPayService from WxJava for business logic, and returning formatted responses. Configuration is managed through application.yml using Spring Boot's @ConfigurationProperties, with a dedicated configuration class setting up the WxJava service as a Spring bean. The project includes Swagger for API documentation and basic error handling via custom error pages. While the code demonstrates solid enterprise Java practices with proper dependency injection, configuration separation, and API documentation, it is primarily intended as a learning tool rather than a production-ready library. The controllers contain TODO comments indicating areas where users need to implement their own business logic, and some dependencies (particularly Springfox for Swagger) are outdated relative to current Spring Boot versions.

RATING: 7.3/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
── end of results ──
$ submit: