Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FasterXML/smile-format-specification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Smile" is a binary data format that defines a binary equivalent of standardJSON data format (*).

Format was specified in 2010 byJackson JSON processor development team.First compliant implementation was included as a Jackson backend for Jackson version 1.6,released in September 2010.

(*) with following exceptions

  • Number magnitude and precision are limited by length-indicators: sowhile for most practical purposes limits are never reached, there are theoretical limits. Specifically, "Big Integers" and "Big Decimals" (matching Javajava.math.BigInteger andjava.math.BigDecimal) are limited to encoded byte-lengths representable by 32-bit positive integers (about 2 GB).

Specification

Design documentation includes:

Community

Documentation

Implementations

Smile Codecs

  • Clojure
    • Cheshire library offers support via Jacksonjackson-dataformat-smile
  • C
    • libsmile is a small C-library for reading and writing Smile data.
  • Go
    • go-smile Smile decoder written in Golang.
  • Java
    • Jackson provides Smile support throughjackson-dataformat-smile modules) format codec
      • Full support: including streaming access, data binding and tree model (100% parity with textual JSON)
      • Jackson 2.9 added "non-blocking" ((aka "asynchronous") decoding for JSON and Smile format backends
    • Protostuff project supports Smile both as a low-level data format, and as format used for its RPC implementation
  • Javascript
    • smile-js Smile decoder written in Javascript (only decodes (reads), does not encode (write))
  • Kotlin Multiplatform
  • Python
    • NewSmile Another Smile Format Decoder/Encoder for Python 3
    • PySmile Python codec
  • Rust
    • serde-smile Serde serializer and deserializer written in Rust.

Frameworks, Systems that use Smile codec (encoder and decoder)

Related Publications

Here are some external articles, blog posts, research papers that may be of interest:

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp