Metadata-Version: 2.1
Name: JSONLibGem
Version: 0.0.4
Summary: This is the simplest module for serializing and deserializing json.
Home-page: 
Author: Gemion
Author-email: ms.m4x@yandex.ru
Keywords: json
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# JSONLibGem #

## What is this? ##
This module allow you to serialize and deserialize json files.

----------


# Using #


Using the library is as simple and convenient as possible:

Let's import it first:
First, import everything from the library (use the `from JSONLibGem import *` construct).

Examples:

### Serialize a JSON-formatted string into a new JSON file ###
    json_data = '{"name": "Ivan", "surname": "Ivanov", "age": 11, "can_eat_potato": false, "parts_of_body": ["Head","Potato"]}'
    output_name = "output_data.json"
    JSONLibGem.serialize_json(json_data, output=output_name)

### Deserialize a JSON-formatted string into a new Python object ###
    json_data = '{"name": "Ivan", "surname": "Ivanov", "age": 11, "can_eat_potato": false, "parts_of_body": ["Head","Potato"]}'
    output_name = "output_data.json"
    JSONLibGem.deserialize_json(json_data, output=output_name)

### Some functions of this module ###

You can print Serialized and Deserialized strings. To do this, you do not have to specify the argument "output".


    


----------
