mason

Struct mapper

A library that maps structured data from unstructured sources into Elixir structs

Mason uses superpowers to coerce maps into structs. This is helpful e.g. when you interface a REST API and want to create a struct from the response.

GitHub

11 stars
1 watching
0 forks
Language: Elixir
last commit: over 8 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
appcues/exconstructorAn Elixir library that simplifies struct instantiation from external data286
jonnyreeves/as3-vanillaA lightweight library for extracting strongly typed objects from dynamic data without requiring manual parsing or marshalling code.81
meyercm/shorter_mapsA library that provides shorthand syntax for creating and manipulating maps and structs in Elixir233
ejpcmac/typed_structA library to simplify struct definition with type enforcement and default values.734
elixir-typed-structor/typed_structorA library for defining and working with typed structs in Elixir13
mljs/somAn implementation of a self-organizing map algorithm for mapping high-dimensional data to lower-dimensional spaces.23
edoren/stpAn SFML extension library for reading the Tiled map format30
chargetrip/clusterbusterA Mapbox Vector Tile map tiling server with built-in clustering and filtering92
hashd/bitmap-elixirA fast and space-efficient data structure for lookups using bit arrays in Elixir36
mkaput/elixir-bimapImplementation of bidirectional maps and multimap data structures in Elixir.28
sindresorhus/p-mapA utility for mapping over promises concurrently while controlling concurrency and error handling.1,376
pkinney/topoA geometry library for Elixir that calculates spatial relationships between geometries157
sindresorhus/p-propsA utility for running multiple promises concurrently and mapping values to fulfill them194
stavro/remodelA library to transform data structures for API serialization141
krzysztofzablocki/propertymapperSimplifies data parsing in Objective-C iOS apps by providing a self-contained and minimalistic solution for mapping between received data and native objects.1,125