{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"}],"enrichment":{"capability":"Provides lossless JSON encoding and decoding for NumPy arrays and scalars, with a drop-in replacement API for the standard json module.","skillfed_tags":["numpy-integration","serialization"],"use_cases":["Serialize NumPy arrays to JSON for REST API responses or file storage","Deserialize JSON data back into NumPy arrays in data processing pipelines","Enable JSON-based inter-process communication when one process uses NumPy and another expects JSON","Store numerical computation results as JSON while preserving array structure and dtype information","Monkey-patch json in third-party libraries to transparently handle NumPy objects without code modification"],"what_it_does":"json-numpy extends Python's built-in json module to handle NumPy arrays and scalars, which the standard library cannot serialize natively. It provides three usage patterns: a drop-in replacement for json functions, explicit encoder/decoder functions for use with the standard json module, or monkey-patching to modify json behavior globally. The package preserves array shape, dtype, and values through the encode-decode cycle without data loss.\n\nThe package depends only on numpy and supports Python 3.8 through 3.13. It is classified as Production/Stable and has been maintained since its initial release in 2021. The implementation wraps the standard json module's methods, making it straightforward to integrate into existing codebases that already work with NumPy data.","worth_installing":"Yes. The package solves a genuine gap in Python's standard library with low install friction, permissive licensing, and stable maintenance. It is well-suited for any workflow that needs to serialize NumPy data to JSON. The three usage patterns offer flexibility for different integration scenarios."},"id":"json-numpy","links":{"html":"https://skillfed.io/packages/json-numpy","md":"https://skillfed.io/packages/json-numpy.md","pypi":"https://pypi.org/project/json-numpy/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-06-30","license_spdx":null,"license_treatment":"permissive","name":"json-numpy","python_support":"supports_current","summary":"JSON encoding/decoding for Numpy arrays and scalars"},"popularity":{"monthly_downloads":387754,"position":7042,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.1"}
