Skip to content

Release 1.1.2

Choose a tag to compare

@github-actions github-actions released this 21 Mar 14:12
· 18 commits to main since this release

feat: add PtrTry* functions (implements #2)

  • Add PtrTry* functions that similar to PtrGet* but don't throw exceptions on failure, allowing for manual exception handling
  • Replace custom sorting with std::shuffle for better randomization
  • *GetInt64 functions now use signed integers
  • Add type checking methods: IsUint, IsSint, IsNum, IsTrue, IsFalse, IsCtn
  • Add immutable doc support for YYJSON.Get* functions

fix: add buffer size checks for GetString functions (fixes #1)

  • Fix Windows compilation warnings (C4244, C4267) using static casts
  • Fix *GetString functions to properly check buffer size, now throw exceptions with required size info
  • Fix *GetLength functions to correctly calc for null terminators

docs: improve documentation and comments