This pull request refactors the BasicJsonParser class to simplify the JSON parsing logic.

The following changes are made:

  • Consolidated trimLeadingCharacter and trimTrailingCharacter methods into a single trimEdges method to reduce code duplication and improve clarity.
  • Extracted the number parsing logic into a new parseNumber method to separate concerns and enhance maintainability.

These changes aim to improve code readability and make future maintenance easier. No functional changes are introduced.

Thank you for reviewing this pull request!

Comment From: mhalbritter

Thank you very much and congratulations on your first contribution :tada:!