Commit Graph

3 Commits

Author SHA1 Message Date
ProjectSky
f596135996 feat: enhance JSON handling with performance and memory improvements
- Add WriteToStringPtr for optimized serialization without buffer allocations
- Implement reference counting with RefCounted/RefPtr for better memory management
- Support JSON Patch (RFC 6902) and Merge Patch (RFC 7386) operations
- Improve floating-point serialization with adjusted precision limits (1-7)
- Enhance iterators with reset capability and better error handling
- Update documentation and tests for new features
2025-11-16 10:37:57 +08:00
ProjectSky
cdb6cc009e refactor: streamline JSON error handling
- Introduced SetErrorSafe function to standardize error message handling across JSON operations
- Removed deprecated SetPackError function to reduce redundancy
- Updated IJsonManager interface to include a default destructor
2025-11-09 13:30:12 +08:00
ProjectSky
5af62b03b8 refactor: rename and update JSON extension components
- Renamed YYJSON to JSON throughout the codebase for consistency
- Updated file names and references, including YYJSONManager to JsonManager
- Added some new native functions
2025-11-08 20:25:29 +08:00