Data-Seek
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
the original.
CONCEPT
The follow is a short and simple overview of the strategy and syntax
used by Data::Seek to query complex data structures. The overall idea
behind Data::Seek is to flatten/fold the data structure, reduce it by
applying a series patterns, then, unflatten/unfold and operate on the
new data structure. The introspection strategy is to flatten the data
structure producing a non-hierarchical data structure where its keys
represent endpoints (using dot-notation and colons to separate (and
denote) nested hash keys and array indices respectively) within the
structure.
ENCODING
During the processing of flattening a data structure with nested data,
the following data structure would be converted into a collection of
endpoint/value pairs.
{
'id' => 12345,
'patient' => {
'name' => {
'first' => 'Bob',
'last' => 'Bee'
}
},
'medications' => [{
README.mkdn view on Meta::CPAN
# DESCRIPTION
Data::Seek is used for querying complex data structures. This module allows you
to select and return specific node(s) in a hierarchical data structure using a
simple and intuitive query syntax. The results can be returned as a list of
values, or as a hash object in the same shape as the original.
# ENCODING
During the processing of flattening a data structure with nested data, the
following data structure would be converted into a collection of endpoint/value
pairs.
{
'id' => 12345,
'patient' => {
'name' => {
'first' => 'Bob',
'last' => 'Bee'
}
},
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.231 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )