You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / python3-json-stream-to-standard-types-0.1.4-1.lbn36.noarch

python3-json-stream-to-standard-types-0.1.4-1.lbn36.noarch

Package Attributes
RPM  python3-json-stream-to-standard-types-0.1.4-1.lbn36.noarch.rpm Architecture  noarch Size  5179 Created  2024/04/02 10:53:38 UTC
Package Specification
Summary Convert json-stream objects to standard Python dicts and lists
Group Unspecified
License ZPL
Home Page https://pypi.org/project/json-stream-to-standard-types
Description

⚠ NOTE: Starting at json-stream 2.2.0,to_standard_types is part of json-stream itself, so there is no longer a need for this packgage. json-stream-to-standard-types Utility function to convert json-stream objects to normal Python dicts/lists. Parallel PR: https:/github.com/daggaz/json-stream/pull/17 Installation pip install json-stream-to-standard-types

Usage To convert a json-stream dict-like or list-like object and all its descendants to a standard list and dict, simply apply the library's to_standard_types function: import json_stream from json_stream_to_standard_types import to_standard_types

data = json_stream.load(f) results = data["results"] print(results) # prints converted = to_standard_types(results) print(converted) # prints [1, 2, 3]

License Do whatever you want with it license or whatever it was called

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
(python3.10dist(json-stream) < 3~~ with python3.10dist(json-stream) >= 1)  
rpmlib(RichDependencies)  
rpmlib(FileDigests)  
rpmlib(TildeInVersions)  
Provides
python-json-stream-to-standard-types
python3-json-stream-to-standard-types
python3.10-json-stream-to-standard-types
python3.10dist(json-stream-to-standard-types)
python3dist(json-stream-to-standard-types)
Obsoletes
python-json-stream-to-standard-types

Document Actions