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.8.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distributions

arrow_json-0.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.0-cp37-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7+ Windows x86-64

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

Uploaded CPython 3.7+ Windows x86

arrow_json-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl (1.5 MB view details)

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

arrow_json-0.8.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.8.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.8.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.8.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.8.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.8.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.6 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

arrow_json-0.8.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.8.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.8.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.8.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.8.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.8.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.8.0.tar.gz.

File metadata

  • Download URL: arrow_json-0.8.0.tar.gz
  • Upload date:
  • Size: 2.9 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.8.0.tar.gz
Algorithm Hash digest
SHA256 d430dab942c69d286fa4a431c8d224bd4daee8de04a979a64229b10c2c5f8d31
MD5 b0641e017c2bd6cde9a39bce6fd15427
BLAKE2b-256 e0bbbe5e3beffc47a682891ed423411ddd41a97ccb490b30eed49d5fda1d5c3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8463afdd5fd747d8f9f04e36e4418cf799aa4d0375d6a0642a36951d6a89a6ce
MD5 6e5e046558982bb21eff61264d1a7bcd
BLAKE2b-256 303f8d09f7686a7c7bd9ecb05d180dd7c052306f8ac2ee7c77ad0384b0c36de7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6b1e7b850613ff460dc0a0cca7f2a0536c333b0692b0b38bf34f850ed9337335
MD5 5e25b110be7f3574b5e2e2eeb4347440
BLAKE2b-256 1de80243821a8332e627c932010ca5f1f7432fd36cfbcd8225b0659f5907134c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp39-pypy39_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0fc416677d6aa5b75ddabefa7f82bb3734a4a7fbbfd045d45946fa6185165cdb
MD5 dc0c79a87febb5727507c16cad2083a7
BLAKE2b-256 277c68a1af92b59cf04c161b75ef99bb8d6aafa7919df2c024814832260cafc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11c5dda6b16095f681170cca1e3a7f1fd4935699a2999201778e513b37839900
MD5 361a4bdbee853e704ec1290b773bf9f4
BLAKE2b-256 25cfdb8141749c16b20b043784eb8fc6eca472ffd37b6a5da791828ea7fd2630

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2fb90504e48cd94d02119b65ce1d481bbc24fe3ed4515c418c0900a728c848f7
MD5 c8853bbca77007a5b9a932cedc986c7e
BLAKE2b-256 cb123abf3eb5d2f84d6c05f8e748c1bde3f002d34897ef088d42355010cdf01d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp38-pypy38_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 295d0b4370f8924030e8c8b13995e6294d2d0bc378d68f67fefadbef4a6ca21c
MD5 7cb0c780c1ea61c20be1b8f4c1af41f3
BLAKE2b-256 9ed98a8f6f518c925b94f43c49236805f323c4bd34f0c09bf572a5b29db5ea64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ed1285a09dbde61b8d0c58545f2d1528d58ea107c43ff8ed8adaa952e8e11035
MD5 bee09c6cd072e9316e82bb780d03be50
BLAKE2b-256 5323d494fe5aff57e588f6d2fd32f5c9b427e0017e1d9ddf83b5a76d9de92ab5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c63d5eb22f675c1b7440747a99c1a96641aad1f8eaefa997f010cff30c9a3a30
MD5 b137feb0f3e86ce9df8596f8c95ac836
BLAKE2b-256 aa75e3ab773e58076554b60f8e3bf46182cc8435dff52e7fbb1c3d119fe33b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-pp37-pypy37_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 ee25cf2a45895c99e05d332bb11d836915f6eaf4e9816243115559475d1b33a5
MD5 3494c9b6d3ce98506cac07083ba7e282
BLAKE2b-256 64adf3b12307b7b195f0dbbfe8f92037a6d1cf30eafb952ffe7d3e5e7f5d8bac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f3db5f5dd63dc03c89b9fc2a5990aa623498c37aeaa48308787a6d80eea56a1a
MD5 95b9f796850fedf3b8d8654b61715b26
BLAKE2b-256 4923428f09af83e7cac64e2e241b2c08c0c3750fc6982908f4fdde39263785d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arrow_json-0.8.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.8.0-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 e1074c2b84be1ca43eb2ab3d206d0d76161af243b9c3bded972ce0045bd358ff
MD5 481e72bdeaf7294080a1e8a1130eed05
BLAKE2b-256 e5ca9c721d06d70a39537a7ceb40bcf518a2aab81e40bac86e5a5bc6e4f12de2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 03a4e25015c717d82a1351384f382a99037f8c6b3a468a0511f44a3439712a97
MD5 32be0d97e67a01aceecd4c2a4d358cd1
BLAKE2b-256 529109b10e2e8476dee1b86cbff41b76f523a334800d783eabc3cb80967889d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f205f91bca9da48e720888b616440f1ba9796b5249811a3562bfd5995a59f068
MD5 91aeadce22414838ce0ec51ae8425426
BLAKE2b-256 0d7a554726b1cfb145fd99121d6e51e28dc338b6225393645715962db5f5aaf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 e4ed6665bb799b5dde986004dd0d2837701b6fcbb81a0d5f4acd6968df97fef6
MD5 876d1e644ce20cffb43367daf81aa53c
BLAKE2b-256 fecc8b18c98ba553b73946cd7e3ad46c6218cf6d33f01e8fa6f054d3eda8298d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 95b1ce5f986f3764b01c8faf80efbc1cfbff3e5598b504dd7c222b7801380e1a
MD5 9eb73eb7d72f6f01b6d97565ec87bbc2
BLAKE2b-256 97eda25817f71b1a6e7b4fe8dc5414ee295f8f6d681d95113bdf96e1c38e152a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a7459272ce16340feec37adb7f0b9da2cea7be200b8989f0835d8ea1dd232d8
MD5 9408772f1c4e9081eb7ec874964cb7a5
BLAKE2b-256 31610e801f19f07de1be7138b2620648636d04832c2bc85b5d355fb7c45b29b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 e1d174e7ece8c73e17896db19137b6cb28b4c045654d8101a4cecddf7f736f79
MD5 008b088f22e92b9fecdee7815e118675
BLAKE2b-256 6e910a802ba97ab10720f23efe9649a82bc705a60262e4da77fedd4fb361b5ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 b4b61c148d7eb0a687d870e4666203f9fa16f350af8bbe0f558574bfd7fc1726
MD5 a3cab3fb0498c5d5f78d2f2bc78c7e5e
BLAKE2b-256 64c7f750d31c72f44cf04f9839def60cd0343c8bc9de3ee4af1475ad09532588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 48d3951254c56dbe06aeff79a7b00daafd3a7d63ed14328cbaf4301ee0186e75
MD5 2eace8406b7ffdf8a22c1a42d94d027f
BLAKE2b-256 f267352cc4c9260007538a8ad17241264f80d639cfbbf0f4f6307b769cabf5a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f451d4e9de623870b021b53b5846516b2620f7102d38f274be4dc6b553861079
MD5 1ba7cc3b7855d48d18b8c180f2eb969d
BLAKE2b-256 f887266be022af9e79ce7e5d1eaa0c191f4fceac78217dd71225b9aed21a91fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f291657da7d93a368c97861176cd1d3d4d5f809766ed0cdeaebb874c69966455
MD5 c519f7fd9232918d2caea7eb5e92fb2d
BLAKE2b-256 3535dea7e1d91201345102d64c9e20293c6e8f66b67a5828fc66fbdecde84fc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 d2f7e897c76be5966ad39ea4a6690903aeac974627c6f96f297c1e6579edcc92
MD5 10ea5af14072c154a2d48582439514da
BLAKE2b-256 b631f22d11f97c4fa509a7a35200664f72e6676377b4c8c1c1b759b66ec5fdce

See more details on using hashes here.

File details

Details for the file arrow_json-0.8.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.8.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3cefa7459e3f7a54e23de96f0eee038a96da7391031a41147f2464bfe482954d
MD5 4e214c94e1c6b75b1b5a96abc3b29b42
BLAKE2b-256 6766b2c53dcc12ec053204142eda0283aa247473db0ccee1aa660d908b4055ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.8.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 df0e87b49b4b617ab6ee825184b1354d308782a9e250b9e7756f1dffb6e4c3bb
MD5 91d50feed33fc9875330bfbd0a5bd392
BLAKE2b-256 0fcfafc6e52cbe6677ee1f61fa547682a74049219f4eed9de425f416b184ee5c

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