搜尋套件、儲存庫與 APP 分類

套件詳情v3.1.2

convert

用於在資料表示形式之間轉換的工具。提供多種 Sink、Codec、Decoder 和 Encoder 類型。

AndroidiOSLinuxmacOSWebWindows
近 30 天下載
1320萬
喜歡數
141
Pub 分數
160

安裝套件

flutter pub add convert

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

convert 套件提供將資料在不同表示形式之間轉換的工具,例如編碼和解碼 JSON、base64 及其他格式。它包含 Codec、Encoder、Decoder 和 Sink 等核心類型,以簡化資料處理工作流程。專為跨多個平台的 Dart 應用程式設計,支援與解析和序列化任務的無縫整合。此套件是 Dart SDK 的核心函式庫之一,確保可靠性與一致性。

適用情境

  • JSON 序列化
  • Base64 編碼/解碼
  • 資料格式轉換
  • 基於流的資料處理
  • 與 Web API 的互操作性
  • 解析結構化文字

主要特色

  • 內建的 JSON 編碼器
  • Base64 支援
  • 流相容的接收端
  • 可擴充的編碼器/解碼器設計
  • Dart SDK 核心部分
  • 跨平台相容性

適合對象

  • Web 與行動應用程式
  • 後端服務
  • 資料管道開發
  • API 客戶端
  • 文字處理工具
  • Dart SDK 結合

使用建議

  • 需要了解編解碼器和串流
  • 限於基本資料格式
  • 不適用於複雜的模式驗證
  • 依賴 Dart SDK 核心
  • 無內建錯誤恢復
  • 最佳搭配其他解析套件使用

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

所在榜單