Metadata-Version: 1.1
Name: pyjsonlines
Version: 2.0.1
Summary: Library to convert Json to Jsonlines or ndjson and Jsonlines or ndjson to Json.
Home-page: https://github.com/thisischandanmishra/pyjsonlines
Author: Chandan Kumar
Author-email: devchandankumar2@gmail.com
License: MIT
Description: pyjsonlines
        ===========
        
        A Python library to convert `Json <https://www.json.org/json-en.html>`__
        to `Jsonlines <http://jsonlines.org/>`__ and
        `Jsonlines <http://jsonlines.org/>`__ to
        `Json <https://www.json.org/json-en.html>`__. This library is helpful to
        convert `ndjson <http://ndjson.org/>`__ to
        `Json <https://www.json.org/json-en.html>`__ and vice versa too.
        
        Installation
        ------------
        
        User can install ``pyjsonlines`` either via the `Python Package Index
        (PyPI) <https://pypi.org/>`__ or from
        `source <https://github.com/thisischandanmishra/pyjsonlines>`__.
        
        Install using pip
        ~~~~~~~~~~~~~~~~~
        
        ::
        
            pip install pyjsonlines
        
        How to use
        ----------
        
        This library contains two APIs to convert data:
        
        1. json2jsonl(in\_take, file=None)
        2. jsonl2json(in\_take, file=None)
        
        json2jsonl(in\_take, file=None)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
        User should use this API incase to convert Json to Jsonlines or ndjson.
        User has to pass valid Json to this API, which is passed to ``in_take``
        argument. User can either pass a Json file or Json object to convert to
        Jsonlines. The other argument, ``file`` is optional. It's required when
        user wants to store the converted Jsonlines or ndjson data to a file.
        Full path of file along with name is suggested to pass.
        
        jsonl2json(in\_take, file=None)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
        User should use this API incase to convert Jsonlines or ndjson to Json.
        User has to pass valid Jsonlines to this API, which is passed to
        ``in_take`` argument. User can either pass a Jsonlines file or Jsonlines
        object to convert to Json. The other argument, ``file`` is optional.
        It's required when user wants to store the converted Json data to a
        file. Full path of file along with name is suggested to pass.
        
Keywords: jsonl2json jsonlines json2jsonl pyndjson pyjsonlines
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: Log Analysis
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Logging
Classifier: Topic :: Utilities
