-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Summary
Add a comprehensive std::encoding module for common encoding/decoding operations.
Sub-issues
This feature has been split into smaller, focused issues:
- Add
std::encoding::base64module #50 -std::encoding::base64- Base64 encoding/decoding - Add
std::encoding::hexmodule #51 -std::encoding::hex- Hexadecimal encoding/decoding - Add
std::encoding::urlmodule #52 -std::encoding::url- URL percent-encoding/decoding - Add
std::encoding::utf8module #53 -std::encoding::utf8- UTF-8 encoding/decoding - Add
std::encoding::jsonmodule #54 -std::encoding::json- JSON encoding/decoding with dynamicjsontype
Module Structure
std::encoding::base64 (#50)
std::encoding::hex (#51)
std::encoding::url (#52)
std::encoding::utf8 (#53)
std::encoding::json (#54)
Implementation Order
Recommended order (simplest to most complex):
- utf8 (Add
std::encoding::utf8module #53) - Simple, strings are already UTF-8 internally - hex (Add
std::encoding::hexmodule #51) - Straightforward byte<->string conversion - base64 (Add
std::encoding::base64module #50) - Well-defined standard encoding - url (Add
std::encoding::urlmodule #52) - Percent-encoding with some edge cases - json (Add
std::encoding::jsonmodule #54) - Most complex, requires new type system support
Shared Exception
All modules share:
exception DecodeError {
position: int,
}
Completion Criteria
This tracking issue will be closed when all sub-issues are completed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels