Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hierarchical JSON-data? #7

Open
haraldgroven opened this issue Aug 13, 2012 · 3 comments
Open

Hierarchical JSON-data? #7

haraldgroven opened this issue Aug 13, 2012 · 3 comments

Comments

@haraldgroven
Copy link

Feature request:

Is it possible to add Hierarchical JSON to list of formats?

example data:

fruit   color   taste
apple   red sweet
apple   red sour
apple   yellow  bitter
pear    green   sweet
pear    green   sour

desired output from Mr-Data-Converter:

[
   {
      "fruit":"apple",
      "color":{
         "red":{
            "taste":"sweet",
            "taste":"sour"
         }
      },
      "color":{
         "yellow":{
            "taste":"bitter"
         }
      },
      "fruit":"pear",
      "color":{
         "green":{
            "taste":"sweet",
            "taste":"sour"
         }
      }
   }
]
@paivaric
Copy link

+1

@SelvaD
Copy link

SelvaD commented Mar 26, 2014

Do we have any update on this ?

@tomByrer
Copy link

Might be better to keep this lib simple, & use an external script like z5h/json.pivot or a Lo-Dash|Underscore zip script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants