Skip to content

Encode and decode Codables to Erlang's External Term Format (ETF)

Notifications You must be signed in to change notification settings

SwiftcordApp/ETFKit

Repository files navigation

ETFKit

Build and test Codecov

Encoder/decoder for Erlang's External Term Format (version 131).

Designed to be a drop-in replacement for JSONDecoder/JSONEncoder. Simply replace all usages of JSONDecoder/JSONEncoder with ETFEncoder/ETFDecoder. (WIP)

Types that can be encoded/decoded:

  • nil
  • Bool
  • String
  • Atoms
  • String with unicode
  • Double
  • Int8
  • Int32
  • Int64
  • Objects
  • Arrays with any supported type
  • Tuples
  • PIDs
  • Ports
  • Exports
  • References

About

Encode and decode Codables to Erlang's External Term Format (ETF)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages