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

Uploaded Source

Built Distributions

arrow_json-0.7.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

arrow_json-0.7.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

arrow_json-0.7.1-pp39-pypy39_pp73-macosx_10_7_x86_64.whl (1.1 MB view details)

Uploaded PyPy macOS 10.7+ x86-64

arrow_json-0.7.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

arrow_json-0.7.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

arrow_json-0.7.1-pp38-pypy38_pp73-macosx_10_7_x86_64.whl (1.1 MB view details)

Uploaded PyPy macOS 10.7+ x86-64

arrow_json-0.7.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

arrow_json-0.7.1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

arrow_json-0.7.1-pp37-pypy37_pp73-macosx_10_7_x86_64.whl (1.1 MB view details)

Uploaded PyPy macOS 10.7+ x86-64

arrow_json-0.7.1-cp37-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.7+ Windows x86-64

arrow_json-0.7.1-cp37-abi3-win32.whl (1.0 MB view details)

Uploaded CPython 3.7+ Windows x86

arrow_json-0.7.1-cp37-abi3-musllinux_1_2_x86_64.whl (1.3 MB view details)

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

arrow_json-0.7.1-cp37-abi3-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ i686

arrow_json-0.7.1-cp37-abi3-musllinux_1_2_armv7l.whl (1.4 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARMv7l

arrow_json-0.7.1-cp37-abi3-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

arrow_json-0.7.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

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

arrow_json-0.7.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.5 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

arrow_json-0.7.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.5 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

arrow_json-0.7.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.6 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64

arrow_json-0.7.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

arrow_json-0.7.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

arrow_json-0.7.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.3 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

arrow_json-0.7.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (2.1 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.7.1-cp37-abi3-macosx_10_7_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

File details

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

File metadata

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

File hashes

Hashes for arrow_json-0.7.1.tar.gz
Algorithm Hash digest
SHA256 8a8994e2071926789216fd61c4792f275bbf688e1f1239036fcf2668606d2369
MD5 dbbed3d34ba4bc6e84e5b24e10da4412
BLAKE2b-256 64a625d55d89b16e005a8c19dbf0dbf6435ea54268ed1cc99781a5f68053d196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c0dbc703f1428bfdbeeb8f5db01cc34388e9ffd038dc4a3f10a3c4f5fc3cdeaa
MD5 4c3a8f56426afd16bbab532610d1d9d2
BLAKE2b-256 1a76a97f0f4c75e4193376cbf938fb74ae0d0b6fbe91348fc7e2721b9cf7ab43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9ce457b0c483e33234e6bfe1d5217fa8900d8eb981af46e2594ed63541b0fa4e
MD5 e4eeb17fd26dbb2f8b0092eeea76caf1
BLAKE2b-256 151300f11c884f7ce76d1d4538fa62d1b5b43d57a392571737f5e3ab3fc8e7cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp39-pypy39_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 dee247893b8ec0ff88af54481574f2fa33987f4016d944e688bf88662c3d2c37
MD5 61c6e62759d0f10ea3f81787564e94ee
BLAKE2b-256 591bc320d8bec44a5c8167b89f99aa2516e05e2d041f4f92adfbd673397a67ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c66c4b105484fe8b9c5fb1105feff4eda879f136c8cba68c4d2637da0adb9f5
MD5 e0a4589dfc3c67e0c889c6c04c9c7133
BLAKE2b-256 f6b2bcaf4c48e854a25d1767beab8b2b1a0e8144b606f84414cd0aa244e2b1c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 57fdb289f0a2f9d5699d9f7cc75eb94fbe27fa0719e3936d950893858d33b819
MD5 e7dbb44aee895d9bfc8f82263e6d90cb
BLAKE2b-256 a0dd6a633987dcb096a4738f0723346fa8e31fbf1d6e350c8a0e3bac485a1a82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp38-pypy38_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 54eb4bea174d0c62b5aa73fcdbd7c109f51136a7c1623d30efe598b3e7a226b9
MD5 eaa251fe0b9f1d358bc82a55f96ebbbd
BLAKE2b-256 473f4ffb0dca779937d25f0beae86f310c2aacb61d96c3cc29fc89dffb5a44f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbfe43c18d5c50e98b3a601492fff2f1d4d587da746fc657913d532eac3b3e14
MD5 d9d2514c301318c5c6fb558c16264794
BLAKE2b-256 7956ddf88dad3decfb7342e876e32b014365fe6e3b28581321f61f21004e0051

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 39223d57b101e0735b366f2634cca98ca86d682afd28e3d36d05866fbf6b20e5
MD5 1366c4f2d495243537301c38125ab3f1
BLAKE2b-256 3b15dd5b3ce1eb99104522e2e94ff53959fdf59488014e48540facb029a1fe51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-pp37-pypy37_pp73-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5b9ec2da29e0ca14f93fbbc25d3e049eacf94bb4db45ef9213fc02d955d747ff
MD5 c860391c804e84a43a5e2a36b2db5985
BLAKE2b-256 fc92ff6b7b09aafab431eb5ebe624bf633d0eb5ff81c08547765f68cc4a47dc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 536d7ea77928907ab9ee080bf7bd81651b573d3b8124daa103ee0d3ce066ae87
MD5 947a5f3d75a24ff7614725a641fef1e2
BLAKE2b-256 0cb76db0b6449aa46ff17dcdad6a762887b85b90437b7bf1efaf8e5612111094

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 9857f9110613315ef039d4584e98eb456d5ec022381c45d9521c310b717e90db
MD5 3aec1cadf252ceeef3c21b9e03c0f0e8
BLAKE2b-256 66329fc2ab9698a8813983a5ec6d74a6a8364213f84c6ad19c1468e5052c0ea4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 13620c8f95401bd92ca733d84b98570cb58312235d8d2354ed6534142d6af4d6
MD5 eea4ef369f9fa2f10939337d9fee0119
BLAKE2b-256 ea45fc99367269254c589a7e44b7b945286dec73c6a6fc6465d3c895b173518b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 324168c95a4eab77fe4b91bfe9d293005a43328a987317d49bbd0c64f938dc08
MD5 505e8d4a11e00f20d8425186326443d1
BLAKE2b-256 16b7b63cc9ecc35c0124015efb1604c6cb1b863c1dc046593ff015cee84bea44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 29f1c3b8e357441523ef344f30b7231f61ce9d39eae62c99d868bbe246ff0f0c
MD5 0dff25f9aa4fc487ec2832d44a6c2a85
BLAKE2b-256 184684f21bdb09162e24a47364c6d1d0ab4b07c70ab58a4ba8320d1a3e6c338a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a46790cbbf84819fb50225a8bc3216325be4a8bfd72b1d2d124041a5c807b576
MD5 de23da87c5b983c0537d8a44c4a67088
BLAKE2b-256 7683e66d811552aec8de53dd4d7301e70dfdf84cf71c807ba639e95da431ff45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2aee942bf08b14e04d4a7cf22252d3310e470914da2da224be916a54f0399a1
MD5 b8d721321230c22905168831dc22c5ed
BLAKE2b-256 a3dc2d49ec6159a2a41eeeb898bc5317cad0af6cb609564f7065fea97ca57fb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 02f0b35ea45a1f3c3e2da3fe7ccaceb9fcd65ce6a7c1023bcbdc19f064374bf5
MD5 2ffed0c95789890148153eb9e7d7e83a
BLAKE2b-256 ca05f8eedbe3701a8d56138a690df19f3b8eb5b6d85f70e09286d0f987fd2705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 ccf024fad8a88b5184b6b69bafac57a66d44e1a1da4bf65a99f4b364ccf46ac2
MD5 d1132b05fee044e3d00213ffd3b37960
BLAKE2b-256 f43ec3359e10c7e2397853c19337f747346fe51199fbf81420a011b79ca8b426

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 6a1f723fb896134378f8393260877aadc8fbbc5e2b9d3870f8444eb17d5d41a8
MD5 93feb83c6e30374c2966330e2e8d79da
BLAKE2b-256 cf857adf5bb2c89cce0f0c66bc532a2ff8952bd9c126d48c85e06882012c79a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6a36a0a8c01417cc3cf2f261c52cece5c538eaf5acf96cc8421ff693d7f8bcd4
MD5 e01b4bd031dfbb7aef08f56154637d6b
BLAKE2b-256 81e065732d7de220200eae94bcc7bc2d4ff5fbd08c56253ef934ff5f33971053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3a21afb5054e2bac93531805f5017327f60aae2efe7f6003c2582a7faad5ea1f
MD5 f318d94e8690a2bead8900d8088daf2c
BLAKE2b-256 847cdfe2ad214195e520314d09f5940e119255ceb6a22659fc54fc4587515177

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 e0f08a2e295aa1b6eeea2df2e4c0c83a38910b9065bd9ef98727d1354b9fd931
MD5 c3f251fe268a7a932e1a33a411d71595
BLAKE2b-256 e779eb223ee4a2037bb14064d14e4df742c18cb83552c97d4ce43e73932a3b27

See more details on using hashes here.

File details

Details for the file arrow_json-0.7.1-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.7.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 94cf87853187af16754ab73b9c20b0fca7e6b2ce80553ac4f6dbc496096adead
MD5 be1c107f2ded0a31170a00ab9ff86b9b
BLAKE2b-256 b4da36b246675c3c1cf428513ff4f79062c4e6051e8552dc5cb29cb6a98bd5cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arrow_json-0.7.1-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4dfba2085059ba9af575c2f1ea31aa0734ab4fbfe25a544450a51ce41cbe56a1
MD5 2792e20c3925b416b1a72a0666b796ae
BLAKE2b-256 3603bbc50325d6ec14c0249c14c41a8771f9a6819bf6cc4ac9497df0c926e43d

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