JSON 객체의 일관된 직렬화를 보장하는 표준 JSON 인코더 및 디코더를 제공하는 플러터/다트 패키지입니다. 해시 또는 서명과 같은 암호화 작업에서 입력이 동일하면 형식의 차이에 관계없이 항상 동일한 출력을 생성해야 하므로 특히 유용합니다. 이 패키지는 결정론성을 달성하기 위해 키의 엄격한 순서와 정밀한 포맷을 강제합니다. 안드로이드, iOS, 웹, 맥OS, 윈도우, 리눅스 등 모든 주요 플랫폼을 지원하여 보안적이고 예측 가능한 JSON 처리가 필요한 크로스플랫폼 애플리케이션에 이상적입니다.
사용 사례
JSON 데이터의 암호화 해시
JSON 페이로드의 안전한 서명
결정적 JSON 직렬화
크로스 플랫폼 데이터 일관성
API 요청/응답 무결성 검증
JSON 기반 디지털 서명
주요 기능
엄격한 키 순서
공백 또는 서식 변형 없음
결정적 출력
모든 주요 플랫폼을 지원합니다
경량이고 효율적
표준 JSON 표준을 준수합니다
적합한 대상
안전한 JSON 처리가 필요한 응용 프로그램
재현 가능한 해시 값을 필요로 하는 시스템
블록체인 또는 암호 프로토콜
엄격한 직렬화 규칙을 가진 상호 운용성 있는 API
안전한 데이터 교환 시스템을 구축하는 개발자
고려 사항
인간이 읽기 적합한 JSON 출력에는 적합하지 않습니다
매우 큰 JSON 구조에서는 성능에 영향을 줄 수 있습니다
엄격한 형식 때문에 디버깅 시 주의 깊게 다뤄야 합니다
결정론이 중요한 사용 사례에 한정됨
사용자 정의 직렬화 로직을 지원하지 않습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Dart Neats
A collection of a small neat packages for dart.
Disclaimer: This is not an officially supported Google product.
This repository is meant as a playground where small neat packages are
cultivated. If package grows too large and complex and needs a dedicated issue
tracker it should be moved to a dedicated repository.
Each folder in this repository contains a neatpub package. This project
aims to use a separate package whenever it makes sense to have an independent
major version. This often means splitting functionality into separate packages,
which can be reused independently.
Utility for vendoring packages into a project and rewriting import/export statements.
Repository Management
Packages in this repository uses pub workspaces
a single dart pub get will resolve dependencies for all of them.
Configuration of Github Actions, issue templates, issue labels, etc is automated
with scripts in tool/.
Contributing
We love patches and contributions, please refer to CONTRIBUTING.md for
technicalities on CLA and community guidelines. As this project aims to
build neat packages using other neat packages we might also accept proposals
for new neat packages, though it's often easier to publish independently.
License
Unless stated otherwise contents in this repository is licensed under
Apache License 2.0, see LICENSE.