Metadata-Version: 2.1
Name: jsonflattifier
Version: 1.1.1
Summary: Converts a JSON Document with nested objects and their parameters to the JSON Document with Flat Denormalised Data.
Home-page: https://gitlab.com/v.grigoryevskiy/json-flattifier
Author: Valentin Grigoryevskiy
Author-email: v.grigoryevskiy@gmail.com
License: UNKNOWN
Project-URL: Source, https://gitlab.com/v.grigoryevskiy/json-flattifier
Project-URL: Tracker, https://gitlab.com/v.grigoryevskiy/json-flattifier/issues
Description: # json-flattifier
        
        Converts JSON Document with nested objects and their parameters to the JSON Document with Flat Denormalised Data.
        
        
        **In:**
        
        ```json
        {
          "name": "John",
          "has": [
            "apple",
            "peach"
          ]
        }
        ```
        
        **Out JSON:**
        
        ```shell
        > jsonflattifier flattify "{...}" --json --jsonpath-keys --no-table
        ```
        
        ```json
        [
          {
            "$['name']": "John",
            "$['has'][0]": "apple"
          },
          {
            "$['name']": "John",
            "$['has'][1]": "peach"
          }
        ]
        ```
        
        **Out CSV:**
        
        ```shell
        > jsonflattifier flattify "{...}" --csv --no-table
        ```
        
        ```csv
        ['name'],['has']
        John,apple
        John,peach
        ```
        
        **Out Table:**
        
        ```shell
        > jsonflattifier flattify "{...}"
        ```
        
        | ['name'] | ['has'] |
        | -------- | ------- |
        | John     | apple   |
        | John     | peach   |
        
        2 rows in set
        
        
        **More Examples**
        
        https://gitlab.com/v.grigoryevskiy/json-flattifier/-/tree/master/tests/data
        
        
Keywords: json csv flat table convert denormalise combinations
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
