hash_to_struct

It enables recursive conversion of a ruby Hash to a Struct-like object and back. (by a-bohush)

Hash_to_struct Alternatives

Similar projects and alternatives to hash_to_struct based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hash_to_struct alternative or higher similarity.

hash_to_struct reviews and mentions

Posts with mentions or reviews of hash_to_struct. We have used some of these posts to build our list of alternatives and similar projects.
  • Convert a Hash to a Struct-like object
    1 project | dev.to | 21 Feb 2022
    To facilitate this, I've built the hash_to_struct gem, which defines a unified interface for creating objects based on Struct or OpenStruct out of Hash objects, with an ability to use nested hashes and a few other convenient features. It is a simple gem under 100 lines of code, with no external dependencies.

Stats

Basic hash_to_struct repo stats
1
4
0.0
about 2 years ago

a-bohush/hash_to_struct is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of hash_to_struct is Ruby.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com