Iterator Functions
WillianBR opened this issue · 1 comments
WillianBR commented
I missed a iterator routines, to allow people to easy walk through JSON as list keys as properties (dot) notation. It'll make things easy to get data from a file where we don't now nothing about the fields.
Let's supose I iterate over a github commit output, a output could be:
Input file:
[
{
"sha": "5de0af1694360f09f...fff0776bcc54c6580e63",
"node_id": "MDY6Q29tbWl0Mz....mYwNzc2YmNjNTRjNjU4MGU2Mw==",
"commit": {
"author": {
"name": "DeCoRawr",
"email": "dean.crnigoj@gmail.com",
"date": "2013-12-17T15:49:18Z"
},
With a output like:
sha=5de0af1694360f09f...fff0776bcc54c6580e63
node_id=MDY6Q29tbWl0Mz....mYwNzc2YmNjNTRjNjU4MGU2Mw==
commit.author.name=DeCoRawr
commit.author.email=dean.crnigoj@gmail.com
commit.author.date=2013-12-17T15:49:18Z
zarie3 commented
Hi,
Sounds nice, I could use it as well.