Skip to main content

Arrow -> JSON encoder

Project description

arrow-json

Encode an arrow array into an array of json strings:

import json
import pyarrow as pa
from arrow_json import array_to_utf8_json_array

data = [[{"f": [1, 2]}], [], None]
array = pa.array(data)
print(nested_list_struct_array.type)
# list<item: struct<f: list<item: int64>>>
json_array = array_to_utf8_json_array(array)
loaded = [json.loads(s) if s is not None else None for s in json_array.to_pylist()]
assert loaded == data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arrow_json-0.9.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distributions

arrow_json-0.9.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

arrow_json-0.9.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

arrow_json-0.9.0-pp39-pypy39_pp73-macosx_10_7_x86_64.whl (1.3 MB view details)

Uploaded PyPy macOS 10.7+ x86-64

arrow_json-0.9.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

arrow_json-0.9.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

arrow_json-0.9.0-pp38-pypy38_pp73-macosx_10_7_x86_64.whl (1.3 MB view details)

Uploaded PyPy macOS 10.7+ x86-64

arrow_json-0.9.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

arrow_json-0.9.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

arrow_json-0.9.0-pp37-pypy37_pp73-macosx_10_7_x86_64.whl (1.3 MB view details)

Uploaded PyPy macOS 10.7+ x86-64

arrow_json-0.9.0-cp37-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7+ Windows x86-64

arrow_json-0.9.0-cp37-abi3-win32.whl (1.2 MB view details)

Uploaded CPython 3.7+ Windows x86

arrow_json-0.9.0-cp37-abi3-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ x86-64

arrow_json-0.9.0-cp37-abi3-musllinux_1_2_i686.whl (1.6 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ i686

arrow_json-0.9.0-cp37-abi3-musllinux_1_2_armv7l.whl (1.6 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARMv7l

arrow_json-0.9.0-cp37-abi3-musllinux_1_2_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

arrow_json-0.9.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

arrow_json-0.9.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.7 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

arrow_json-0.9.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.7 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

arrow_json-0.9.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.8 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64

arrow_json-0.9.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

arrow_json-0.9.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

arrow_json-0.9.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.6 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

arrow_json-0.9.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (2.5 MB view details)

Uploaded CPython 3.7+ macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

arrow_json-0.9.0-cp37-abi3-macosx_10_7_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

File details

Details for the file arrow_json-0.9.0.tar.gz.

File metadata

  • Download URL: arrow_json-0.9.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for arrow_json-0.9.0.tar.gz
Algorithm Hash digest
SHA256 136edb351472101bb40ed493429d169d8c5885b12211642088c4f564e24ecede
MD5 a2c96bca269c12418d3ff69d313f5892
BLAKE2b-256 a521e7a964e6f56098d404ab569cf491c4a0145ceceb486692e74d74ce668638

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e99c52d0dfe6c822559e76506f604100d647ed28c5d461e3992ac8876b0a0209
MD5 cdc48281527bf95f6fc1fa9fc0192b86
BLAKE2b-256 2745397a6cb74006d262382b547b9d33ee58248154311110c3963c45dfff4f55

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2b76db72e17efa8cb608de6076b0fa1ba9425c916999e21548ecc39560dbf3a9
MD5 eb84abcb1203b3bc5771d9ca77645c83
BLAKE2b-256 985458985b6c28d85c7c7c9c785e0c3c1cfde37e4c33035edc88460af61ae473

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp39-pypy39_pp73-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp39-pypy39_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 1cbc1c410de39c768a946fc3dd8f40f064be0a94ac898c0180a4676bf914c466
MD5 31345f213e21ef2817e3cbe5a21cc9c9
BLAKE2b-256 a3283452951b24370a301808190e52fe0d1af10fce48889f2a9e920b015e9e3c

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 753101195eda2ae3810ea9278faaf05df3e8dfeb953334bb4e0506905286398c
MD5 e7483b4f5c68e45d93f40d7ae27e0e03
BLAKE2b-256 adb8be12945ef32c085603f5572b23d9661fec6f52fdf36523a75d864daad8ea

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dabffc9f68394387c16573292b46c9b71263b27fcad94191748cf2b3d9d68075
MD5 c57b8dfc8b8970bad822ae7082892707
BLAKE2b-256 8cbfa4e53292b6099a3e0dd957811a8743365133af16b1c3c9164de3eb1160ab

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp38-pypy38_pp73-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp38-pypy38_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 bdbad7fdcc30b19be6520b46b24058823e85c2872fa8f571362415ac46f4fab9
MD5 a6fdc414134898b70ea58fe4aaf62701
BLAKE2b-256 98b333e35e5087ef04df1b3aa2810d4be834cca8088d0a5651c6ec00cd5a4538

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ad18eafba618c1d174a92d0e14a0ee7a00e6da14b1cf36f060229dbd8c6a934
MD5 39a3dbd1898a49b3fa8bf26ddae212a4
BLAKE2b-256 dbd0879de524b90ec3c8c94954a2cfd5e3aff56960699e6876c1b8b732f0228b

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dede164e46d761ac244972e5014f740746373b5cf9ed6293b6a9bfaf5e31c17f
MD5 463aa2a08428d4a2517a39004a40952e
BLAKE2b-256 d7fe9dca26e4035ac4b2d13f5c641ca3911d3cab41c6f927e34958086d77ce2f

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-pp37-pypy37_pp73-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-pp37-pypy37_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 cb01780cfa297cb9dcbd05e4976b303c7acdb509d781ef786c0f767c2bd1542c
MD5 aad994d3d4e8722a97a7399ae17ef909
BLAKE2b-256 657cd8d80dfae512898295103ff5a81db05d73ccfda6d5cd1829fa0cb70b2490

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aa83eb59a15e28ad11277aa78dc6c7843858db89bb9ae20a56d500a6ed4cea17
MD5 0cc21d00e57c265b954178625b5168b4
BLAKE2b-256 32bb399d01107d0875b65b96c67c56fb081d5f4beae88f5ca89951e4cbbaa8c4

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-win32.whl.

File metadata

  • Download URL: arrow_json-0.9.0-cp37-abi3-win32.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 e192b6f6a834be3540ed581ff06b86c2c8fc2b282d0f268bed26bca723111cf3
MD5 4ff6b7f0815423e41179866f87c0c306
BLAKE2b-256 54e6c8218ddfc8613ab06fedeed007b6341f27438650525005bd638412f3b20c

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e87f017af7b524e105309005f023dc3a0509e9b48258ee75b793f50d4297d5d5
MD5 561c7fdde03d034f48d441023d0b3bd7
BLAKE2b-256 bc5d4cdbd44caf5da75d7c020771de34a5173d3980c7fe8e6acacaaf9f23debd

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a1e2e4b47aa15ef8f14ee5b2a2e05cad4015c01b779fd2510cb9236573a21a65
MD5 d573f8e81fd0a0112e48fa5eac3e30ae
BLAKE2b-256 093ce5ff0855a2858391c971e160a843cd100cf6dbb9f6d71475ea36317f5882

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 d170a7ad3be95dba3b445ec5644fc18be949498293e87f717a68f8524a513b12
MD5 8563dffaeefc323023a4a4365704cf95
BLAKE2b-256 da92bdfd94b5a1932229ea6f28fdfa61942da034f1cd36ffdd4bb11141855a5a

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f28b4ff8aea93a95ff9412484b1ccc9624f2ea3c7b82fbb6766ffd511c741964
MD5 e806967c89e88a9263c61ab7ad643edd
BLAKE2b-256 9f0717ad81f89249a597b16eac6560bfcb411df74adb4a48f9587c6d4b7f1e5b

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 314dfdaee68332ce91ee9ee28386ffe285c17abb1adfff0b8082750d3af3cb5d
MD5 56ed78452b9c8abd7762154dfd9aac62
BLAKE2b-256 67c21aa8fa13be2ceda95a3b3600456e46dd8df5f454461036aa9bba1181e144

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 0a235099b17e6d71ecec10d7fc9d185bb7f9b6da39bd091b394b6a83bf07d2e7
MD5 b204629637e2ba3b9e15522755d1fe58
BLAKE2b-256 bb6d4d13dea8ca8f4c3e6cdb37e4af55539ed44aa1ab9d329817acc4f8d39b55

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 42e632b3ecbbeff0a2cdc15ce4aadb0a41f92a7e2bf7ace06c9ec382f19c0c25
MD5 51dd4078c4c3dd91870fcb488f29e1f6
BLAKE2b-256 8da60e03439ba757381681728c5e3e4a59d7d68be88128c0a13ed415d99bc798

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 d875af110320b8a0a81231e6fe8c439b544c222054777ec211e16ff7247e7292
MD5 028278075da6cb442ac7fedb4b381657
BLAKE2b-256 c3f9b2ffe48bcff20c9699511fa5fae77167919e8b892c28f8c46fdbac87f0cd

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d97718009bfeede94d9147ea8a650db28d6a922b8d6e179271efaec80ec42d49
MD5 29946f08acbde8bb016ff72fe8125f9f
BLAKE2b-256 66b831b42268710740c07d5affe2cebac3eaf46f27ec443b8d502402504fce7e

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 97015acaf9223fecea7494d516bc98be5a7448f96c6dd26fe8864c9951fe3da8
MD5 ede6bf7c2ef6ef91793c1986672354ed
BLAKE2b-256 a5df37d4c658dd31c08aa6f66e4cc54bf2ae15c75604b310faf9911c41c3f7be

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 a9de82f17b3dd27fa2b0c9c0c9173e8a0f7992a87f161e34fc5d4648cdf5f90d
MD5 a5bdc8655c7de95f392f15b6ba7a1652
BLAKE2b-256 f326d48da08053a52be33a1ac5f02266968636455c0a29171bec80fd38f77d80

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 994103f20676c6fe7327843855c411914e3837377fb17eea2ff46bcc1cf156a8
MD5 1b7fa37b146dd9a1ec5fb1dac7015a31
BLAKE2b-256 1b2fd4879eff1d095bda77d3eee8ec64bf325befe3e8fe1364db711a5869b1a1

See more details on using hashes here.

File details

Details for the file arrow_json-0.9.0-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for arrow_json-0.9.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 f109632fd8e2bce43c755c076042c1a97cbe4160780a8532d42411310bc7a9f1
MD5 2e15c834d902dc4687551519466e0fab
BLAKE2b-256 0c176f60dcb73e790f3718027542922fa2bd4d1e2fde6a635118267c7cb44983

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page