plucker - Pluck nested properties from an object

  •        9

Pluck nested properties from an object.Given a dot-delimted property path, returns a plucking function.

http://hughsk.github.io/plucker

Tags
Implementation
License
Platform

   




Related Projects

deep_pluck - Allow you to pluck attributes from nested associations without loading a bunch of records

  •    Ruby

Allow you to pluck deeply into nested associations without loading a bunch of records. Support Rails 3.2, 4.2, 5.0, 5.1, 5.2.

Propel - smart easy object persistance in PHP

  •    PHP

Propel is an open-source Object-Relational Mapping (ORM) for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data. Propel uses PDO as an abstraction layer, and code generation to remove the burden of runtime introspection. Therefore Propel is fast.

object-fit - Polyfill (mostly IE) for CSS object-fit property to fill-in/fit-in images into containers

  •    CSS

This is a headless polyfill for the CSS object-fit property which defines the sizing mode for content images (similar to background-size for CSS background sources). Please note that as Microsoft Edge does not support a good way to get matching CSS rules, and there are a couple of other issues that aren’t likely to be fixed, this polyfill is of limited benefit for most projects as all other browser vendors support object-fit natively now.

Plucker Channel Porter

  •    C++

PlkrData imports and exports Plucker channels between the web, the Plucker/Plucker Desktop INI format, and the JPluck .jxl XML format. PlkrData can add channels from the web to Plucker with a simple point-and-click in your web browser.

flat - :steam_locomotive: Flatten/unflatten nested Javascript objects

  •    Javascript

Take a nested Javascript object and flatten it, or unflatten an object with delimited keys.Use a custom delimiter for (un)flattening your objects, instead of ..


THObserversAndBinders - Easy, lightweight, object-based key-value observing (KVO) and key-value binding (KVB) for iOS and Mac OS X

  •    Objective-C

Now, it seems like every Cocoa programmer out there has their own KVO and KVB solution, and I've tried a few of them. There are too many to enumerate here. Many of them are quite nice, but I couldn't find any that passed my personal 'feels comfortable' test with flying colours (and, though I know it's irrational, KVO just seems like it should be cleaner than a messily prefixed category on NSObject, objc_setAssociatedObject() or method swizzling). I like this API. It's one simple call to set up an block that fires when a property changes. Want to observe a whole bunch of things? Just set up a bunch ofTHObservers, store them in an array, then when it comes time to stop observing, release the array (maybe calling -stopObserving on the observers in the array first if there might be a reference to them lying around elsewhere, like in an autorelease pool).

idx - Library for accessing arbitrarily nested, possibly nullable properties on a JavaScript object.

  •    Javascript

idx is a utility function for traversing properties on objects and arrays. If an intermediate property is either null or undefined, it is instead returned. The purpose of this function is to simplify extracting properties from a chain of maybe-typed properties.

collect.js - πŸ’Ž Convenient and dependency free wrapper for working with arrays and objects

  •    Javascript

Using Laravel as your backend? Collect.js offers an (almost) identical api to Laravel Collections 5.5. See differences. All comparisons in collect.js are done using strict equality. Using loose equality comparisons are generally frowned upon in JavaScript. Laravel only performs "loose" comparisons by default and offer several "strict" comparison methods. These methods have not been implemented in collect.js because all methods are strict by default.

graphql-yoga - 🧘 Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience

  •    TypeScript

To get started with graphql-yoga, follow the instructions in the READMEs of the examples.(**) Notice that the req argument is an object of the shape { request, connection } which either carries a request: Request property (in case it's a Query/Mutation resolver) or a connection: SubscriptionOptions property (in case it's a Subscription resolver). Request is imported from Express.js. SubscriptionOptions is from the graphql-subscriptions package.

TomP2P - A P2P-based high performance key-value pair storage library

  •    Java

TomP2P is a P2P library and a distributed hash table (DHT) implementation which provides a decentralized key-value infrastructure for distributed applications. Each peer has a table that can be configured either to be disk-based or memory-based to store its values. TomP2P stores key-value pairs in a distributed manner. To find the peers to store the data in the distributed hash table, TomP2P uses an iterative routing to find the closest peers. Since TomP2P uses non-blocking communication, a future object is required to keep track of future results. This key concept is used for all the communication (iterative routing and DHT operations, such as storing a value on multiple peers) in TomP2P and it is also exposed in the API. Thus, an operation such as get or put will return immediately and the user can either block the operation to wait for the completion or add a listener that gets notified when the operation completes.

101 - A modern JS utility library

  •    Javascript

Just like ES6's Object.assign. Extend an object with any number of objects (returns original). Functional version of &&. Works great with array.reduce.

Motis - Easy JSON to NSObject mapping using Cocoa's key value coding (KVC)

  •    Objective-C

Motis is a user-friendly interface with Key Value Coding that provides your NSObjects tools to map key-values stored in dictionaries into themselves. With Motis your objects will be responsible for each mapping (distributed mapping definitions) and you won't have to worry for data validation, as Motis will validate your object types for you. Check our blog post entry Using KVC to parse JSON to get a deeper idea of Motis foundations.

humps - 🐫 Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript

  •    Javascript

Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript. When converting object keys, it will walk the structure, converting any nested objects (or arrays of nested objects) along the way. Handy for converting JSON between JavaScript and Ruby/Rails APIs.

Dozer - Java Bean to Java Bean mapper that recursively copies data from one object to another

  •    Java

Dozer is a Java Bean to Java Bean mapper that recursively copies data from one object to another. Typically, these Java Beans will be of different complex types. Dozer supports simple property mapping, complex type mapping, bi-directional mapping, implicit-explicit mapping, as well as recursive mapping. This includes mapping collection attributes that also need mapping at the element level.

awesome_nested_fields - Easy dynamic nested fields for Rails and jQuery applications.

  •    Ruby

In Rails, you can create forms that have fields from nested models. For example, if a person has many phone numbers, you can easily create a form that receives data from the person and from a fixed number of phones. However, when you want to allow the person to insert multiple, indefinite phones, you're in trouble: it's much harder than it should be. Well, not anymore. The accepts_nested_attributes_for is a method from Active Record that allows you to pass attributes of nested models directly to its parent, instead of instantiate each child object separately. In this case, Person gains a method called phones_attributes=, that accepts data for new and existing phones of a given person. The allow_destroy option enables us to also delete child objects. To know more about nested attributes, check out the ActiveRecord::NestedAttribute class.

RIBs - Uber's cross-platform mobile architecture framework.

  •    Java

RIBs is the cross-platform architecture framework behind many mobile apps at Uber. The name RIBs is short for Router, Interactor and Builder, which are core components of this architecture. This framework is designed for mobile apps with a large number of engineers and nested states. To get started with RIBs, please refer to the RIBs documentation. This describes key concepts on RIBs, from what they are for, their structure and common use cases.

vue-meta - Manage page meta info in Vue 2.0 components. SSR + Streaming supported.

  •    Javascript

vue-meta is a Vue 2.0 plugin that allows you to manage your app's meta information, much like react-helmet does for React. However, instead of setting your data as props passed to a proprietary component, you simply export it as part of your component's data using the metaInfo property. These properties, when set on a deeply nested component, will cleverly overwrite their parent components' metaInfo, thereby enabling custom info for each top-level view as well as coupling meta info directly to deeply nested subcomponents for more maintainable code.

jsonmapper - map nested JSON structures onto PHP classes

  •    PHP

Takes data retrieved from a JSON web service and converts them into nested object and arrays - using your own model classes. Starting from a base object, it maps JSON data on class properties, converting them into the correct simple types or objects.

SnappyDB - A key-value database for Android

  •    HTML

SnappyDB is a key-value database for Android it's an alternative for SQLite if you want to use a NoSQL approach. It allows you to store and get primitive types, but also a Serializable object or array in a type-safe way.

YapDatabase - YapDatabase is an extensible database for iOS & Mac.

  •    Objective-C

Concurrency. You can read from the database while another thread is simultaneously making modifications to the database. So you never have to worry about blocking the main thread, and you can easily write to the database on a background thread. And, of course, you can read from the database on multiple threads simultaneously. Built-In Caching. A configurable object cache is built-in. Of course sqlite has caching too. But it's caching raw serialized bytes, and we're dealing with objects. So having a built-in cache means you can skip the deserialization process, and get your objects much faster.