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.
11 stars
1 watching
0 forks
Language: Elixir
last commit: over 6 years ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
appcues/exconstructor | An Elixir library that simplifies struct instantiation from external data | 286 |
jonnyreeves/as3-vanilla | A lightweight library for extracting strongly typed objects from dynamic data without requiring manual parsing or marshalling code. | 81 |
meyercm/shorter_maps | A library that provides shorthand syntax for creating and manipulating maps and structs in Elixir | 233 |
ejpcmac/typed_struct | A library to simplify struct definition with type enforcement and default values. | 735 |
elixir-typed-structor/typed_structor | A library for defining and working with typed structs in Elixir | 13 |
mljs/som | An implementation of a self-organizing map algorithm for mapping high-dimensional data to lower-dimensional spaces. | 23 |
edoren/stp | An SFML extension library for reading the Tiled map format | 30 |
chargetrip/clusterbuster | A Mapbox Vector Tile map tiling server with built-in clustering and filtering | 92 |
hashd/bitmap-elixir | A fast and space-efficient data structure for lookups using bit arrays in Elixir | 36 |
mkaput/elixir-bimap | Implementation of bidirectional maps and multimap data structures in Elixir. | 28 |
sindresorhus/p-map | A utility for mapping over promises concurrently while controlling concurrency and error handling. | 1,292 |
pkinney/topo | A geometry library for Elixir that calculates spatial relationships between geometries | 154 |
sindresorhus/p-props | A utility for running multiple promises concurrently and mapping values to fulfill them | 193 |
stavro/remodel | A library to transform data structures for API serialization | 141 |
krzysztofzablocki/propertymapper | Simplifies 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 |