Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
+ Coverage 80.47% 80.60% +0.12%
==========================================
Files 775 777 +2
Lines 79059 80278 +1219
==========================================
+ Hits 63623 64705 +1082
- Misses 15436 15573 +137
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new YAML parsing and writing feature to the core library, adds supporting documentation, and includes minor enhancements to character handling utilities. The main addition is the
YAMLclass, which provides a comprehensive, self-contained YAML <->varconverter with support for common YAML features, and integrates it into the core API and documentation. Additionally, new character utility methods are added to improve ASCII and control character detection, and a small improvement is made to JSON formatting.YAML Support and API Integration:
YAMLclass inyup_YAML.hand implementation, providing static methods for parsing and writing YAML to and fromvarobjects, with support for core-schema type resolution, block/flow collections, block scalars, anchors/aliases/merge keys, and formatting options (parse,fromString,toString,writeToStream,FormatOptions).YAMLAPI into the core library headers and build (yup_core.h,yup_core.cpp) and test infrastructure (tests/yup_core.cpp). [1] [2] [3]Documentation:
YAMLclass and its API indocs/core/data-interchange.md, including usage examples and feature notes.Character Utilities:
CharacterFunctions:isAsciiPrintableandisControlCharacter, and usedisAsciiPrintableto improve ASCII output in the JSON formatter. [1] [2] [3]Build/Include Improvements:
<charconv>,<limits>) to support the new YAML parser implementation.These changes collectively add robust YAML support to the library, improve interoperability, and enhance character handling for serialization and parsing tasks.