# \#json

**URL:** https://discourse.julialang.org/tag/json/92.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Parsequoted=true in JSON.jl](https://discourse.julialang.org/t/parsequoted-true-in-json-jl/139486)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 4\
**Last updated:** [September 17, 2026, 2:22pm UTC](https://discourse.julialang.org/t/parsequoted-true-in-json-jl/139486 "2026-09-17T14:22:13Z")

</div>

JSON3 had the ability to automatically handle quoted numbers. For example import JSON3 struct MyType x::Float64 end s = "{\\"x\\":\\"4.0\\"}" # note quoted "4.0" JSON3.read(s, MyType; parsequoted=true) # MyType(4.0…

---

## [In Julia, how can I export a Tiddler (created for TiddlyHost) as a JSON file?](https://discourse.julialang.org/t/in-julia-how-can-i-export-a-tiddler-created-for-tiddlyhost-as-a-json-file/139435)

<div class="topic-metadata">

**Author:** [@haroldnick0](https://discourse.julialang.org/u/haroldnick0)\
**Replies:** 2\
**Last updated:** [September 15, 2026, 4:43am UTC](https://discourse.julialang.org/t/in-julia-how-can-i-export-a-tiddler-created-for-tiddlyhost-as-a-json-file/139435 "2026-09-15T04:43:40Z")

</div>

In Julia, how can I export a Tiddler (created for TiddlyHost) as a JSON file?

---

## [JSON.jl (v1.0) vs JSON3.jl for intensive struct materialization (20,000+ files)](https://discourse.julialang.org/t/json-jl-v1-0-vs-json3-jl-for-intensive-struct-materialization-20-000-files/136980)

<div class="topic-metadata">

**Author:** [@fchichorro](https://discourse.julialang.org/u/fchichorro)\
**Replies:** 4\
**Last updated:** [May 14, 2026, 10:31pm UTC](https://discourse.julialang.org/t/json-jl-v1-0-vs-json3-jl-for-intensive-struct-materialization-20-000-files/136980 "2026-05-14T22:31:22Z")

</div>

Hello everyone I have an ETL process that reads ~20,000 JSON files (avg. 60kb each), materializes them into nested structs, performs some operations, and saves them back to disk. I recently tried transitioning from JSO…

---

## [Generating structs from JSON files](https://discourse.julialang.org/t/generating-structs-from-json-files/136360)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 1\
**Last updated:** [March 24, 2026, 11:44pm UTC](https://discourse.julialang.org/t/generating-structs-from-json-files/136360 "2026-03-24T23:44:14Z")

</div>

I need to generate structs (and enums) from a set of JSON files. It seems that only JSON3.jl currently supports this feature? The migration guide does state: If you rely heavily on this feature, continue using JSON3.j…

---

## [SDMX parser](https://discourse.julialang.org/t/sdmx-parser/61143)

<div class="topic-metadata">

**Author:** [@gr\_julia](https://discourse.julialang.org/u/gr_julia)\
**Replies:** 2\
**Last updated:** [February 12, 2026, 2:59am UTC](https://discourse.julialang.org/t/sdmx-parser/61143 "2026-02-12T02:59:02Z")

</div>

Hi all, I’m new to Julia and trying to automate data retrieval. That’s fairly easy for JSON formats but many organisations now use SDMX-ML. I could not find a parser though (and have no idea how to write one). Has anyon…

---

## [Parsing structs with computed fields in JSON.jl v1](https://discourse.julialang.org/t/parsing-structs-with-computed-fields-in-json-jl-v1/135551)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 6\
**Last updated:** [February 10, 2026, 8:02pm UTC](https://discourse.julialang.org/t/parsing-structs-with-computed-fields-in-json-jl-v1/135551 "2026-02-10T20:02:25Z")

</div>

I have the following problem migrating from JSON3.jl to JSON.jl v1: julia\> struct MyStruct a::Int b::String # MyStruct(a::Int) = new(a, string(a)) this won't work even with J…

---

## [LanguageServer.jl keeping JSON.jl at very old version](https://discourse.julialang.org/t/languageserver-jl-keeping-json-jl-at-very-old-version/135100)

<div class="topic-metadata">

**Author:** [@pmcm](https://discourse.julialang.org/u/pmcm)\
**Replies:** 7\
**Last updated:** [January 17, 2026, 2:34pm UTC](https://discourse.julialang.org/t/languageserver-jl-keeping-json-jl-at-very-old-version/135100 "2026-01-17T14:34:50Z")

</div>

I’m posting this under “Package Management” because I’m hoping that there’s some trick of package dependencies I can use to resolve it. (And my apologies if there is an obvious solution to this – I’m relatively new to Ju…

---

## [\[ANN\] TypedJSON.jl - A Julia serialization library prioritizing type fidelity, human-readability, and long-term archival](https://discourse.julialang.org/t/ann-typedjson-jl-a-julia-serialization-library-prioritizing-type-fidelity-human-readability-and-long-term-archival/134866)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 11\
**Last updated:** [January 7, 2026, 11:34am UTC](https://discourse.julialang.org/t/ann-typedjson-jl-a-julia-serialization-library-prioritizing-type-fidelity-human-readability-and-long-term-archival/134866 "2026-01-07T11:34:05Z")

</div>

Dear all, this is an announcement for TypedJSON.jl, (yet another!) JSON serialization library focusing on type fidelity and long-term archival. It came out of my specific needs to: Easily serialize/deserialize from/t…

---

## [Is there a Julia package allowing to access json objects like jqlang?](https://discourse.julialang.org/t/is-there-a-julia-package-allowing-to-access-json-objects-like-jqlang/106839)

<div class="topic-metadata">

**Author:** [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Replies:** 6\
**Last updated:** [May 2, 2025, 8:47pm UTC](https://discourse.julialang.org/t/is-there-a-julia-package-allowing-to-access-json-objects-like-jqlang/106839 "2025-05-02T20:47:39Z")

</div>

In REPL it’s convenient to use jqlang syntax like curl 'https://\<graphql-api\>' -X POST \\ -H 'content-type: application/json' \\ --data """\<graphql-query\>""" | \\ jq '.data.blocks\[0\].number is there a way to do someth…

---

## [Efficiently Read JSON and Create DataFrame](https://discourse.julialang.org/t/efficiently-read-json-and-create-dataframe/41087)

<div class="topic-metadata">

**Author:** [@Dominic\_Pazzula](https://discourse.julialang.org/u/Dominic_Pazzula)\
**Replies:** 23\
**Last updated:** [April 3, 2025, 6:00am UTC](https://discourse.julialang.org/t/efficiently-read-json-and-create-dataframe/41087 "2025-04-03T06:00:28Z")

</div>

I am taking in a simulation from another process written in existing software. It outputs a JSON package of a few tables (stored as array of objects). I am running an optimization in JuMP based on the simulation. The …

---

## [How to speed up converting Dict to Json?](https://discourse.julialang.org/t/how-to-speed-up-converting-dict-to-json/124061)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 2\
**Last updated:** [December 21, 2024, 2:12pm UTC](https://discourse.julialang.org/t/how-to-speed-up-converting-dict-to-json/124061 "2024-12-21T14:12:03Z")

</div>

I am using Julia and the JSON module to convert a Dict to JSON and sent it to LLM APIs. Below is the code I’m using: function send\_request(url, headers, payload) try @debug "Payload" payload json\_pay…

---

## [JSON.jl Float64 serialization (suppress scientific notation)](https://discourse.julialang.org/t/json-jl-float64-serialization-suppress-scientific-notation/119775)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 0\
**Last updated:** [September 23, 2024, 9:04pm UTC](https://discourse.julialang.org/t/json-jl-float64-serialization-suppress-scientific-notation/119775 "2024-09-23T21:04:35Z")

</div>

I am having a hard time with JSON.jl. I want to serialize large Float64 instances without scientific notation and the only way I was able to get at least the rounding working results in a string, instead of a float value…

---

## [JSON to string transposing problem](https://discourse.julialang.org/t/json-to-string-transposing-problem/108967)

<div class="topic-metadata">

**Author:** [@Pascal\_Buhler](https://discourse.julialang.org/u/Pascal_Buhler)\
**Replies:** 2\
**Last updated:** [January 19, 2024, 6:13am UTC](https://discourse.julialang.org/t/json-to-string-transposing-problem/108967 "2024-01-19T06:13:07Z")

</div>

i have this code and it gives me always a {} error. after this i wanna publish the code to string over a mqtt client. LED = JSON.parse({"type": "led-ring", "payload": {"mode": 1, "duration": 10000, "speed": 100, "bright…

---

## [Install SSL/TLS Libraries in Julia?](https://discourse.julialang.org/t/install-ssl-tls-libraries-in-julia/108521)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 4\
**Last updated:** [January 8, 2024, 6:38pm UTC](https://discourse.julialang.org/t/install-ssl-tls-libraries-in-julia/108521 "2024-01-08T18:38:56Z")

</div>

using HTTP using JSON function getIPInfo() url = "https://ipapi.co/json" response = HTTP.get(url) if response.status == 200 data = JSON.parse(String(response.body)) println("IP Information:"…

---

## [Using HTTP to do a post request where some parameters are JSON strings](https://discourse.julialang.org/t/using-http-to-do-a-post-request-where-some-parameters-are-json-strings/106277)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 2\
**Last updated:** [November 16, 2023, 11:22am UTC](https://discourse.julialang.org/t/using-http-to-do-a-post-request-where-some-parameters-are-json-strings/106277 "2023-11-16T11:22:03Z")

</div>

I’m having a problem where, when trying to write data into a server’s api using post, I cannot seem to send the correct format of json strings, i.e. without the \\" characters in between that we get when we do json(string…

---

## [Error writing down a JSON file with JSON.jl](https://discourse.julialang.org/t/error-writing-down-a-json-file-with-json-jl/106028)

<div class="topic-metadata">

**Author:** [@PatrickeTownsend](https://discourse.julialang.org/u/PatrickeTownsend)\
**Replies:** 1\
**Last updated:** [November 10, 2023, 12:33pm UTC](https://discourse.julialang.org/t/error-writing-down-a-json-file-with-json-jl/106028 "2023-11-10T12:33:52Z")

</div>

Hello, I’m trying to export some data to a JSON format, the file is succesfully created with this function: function writeJSON() r = rand(3,3) N=3 data = \[Dict("x"=\> r\[i,1\],"y"=\> r\[i,2\],"z"=\>r\[i,3\]) for i=1…

---

## [Write and read json file](https://discourse.julialang.org/t/write-and-read-json-file/97379)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 6:56am UTC](https://discourse.julialang.org/t/write-and-read-json-file/97379 "2023-04-12T06:56:32Z")

</div>

I tried to save and read the following json file, but there is some problem for the presence of nothing. using YFinance, JSON3 aapl\_json=get\_quoteSummary("AAPL") aapl\_json\_string=string(aapl\_json) open("aapl.json", "w"…

---

## [Questions about JSONRPC.jl](https://discourse.julialang.org/t/questions-about-jsonrpc-jl/94745)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 1\
**Last updated:** [February 19, 2023, 5:22pm UTC](https://discourse.julialang.org/t/questions-about-jsonrpc-jl/94745 "2023-02-19T17:22:58Z")

</div>

Context I have a custom RPC that works between julia and .NET (discussed in previous posts of mine), though it helped me to understand how this kind of communication works between different softs, it is totally handmade,…

---

## [Map data from one dictionary into another](https://discourse.julialang.org/t/map-data-from-one-dictionary-into-another/92890)

<div class="topic-metadata">

**Author:** [@Sandy45](https://discourse.julialang.org/u/Sandy45)\
**Replies:** 5\
**Last updated:** [January 13, 2023, 8:30pm UTC](https://discourse.julialang.org/t/map-data-from-one-dictionary-into-another/92890 "2023-01-13T20:30:08Z")

</div>

I have data from two APIs in JSON format and parsing them into 2 dictionaries (d1, d2). I need to derive two additional fields FieldName(from d2), attrVal from d1() by mapping subAttrDefId present in d1(“attrValues”) wi…

---

## [How to read .json file in dataframe without using Pandas.jl](https://discourse.julialang.org/t/how-to-read-json-file-in-dataframe-without-using-pandas-jl/85276)

<div class="topic-metadata">

**Author:** [@Starpower\_Power](https://discourse.julialang.org/u/Starpower_Power)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 3:36am UTC](https://discourse.julialang.org/t/how-to-read-json-file-in-dataframe-without-using-pandas-jl/85276 "2022-08-04T03:36:38Z")

</div>

how to read .json file in dataframe without using Pandas.jl, because using both package there will conflict error.

---

## [Saving complex numbers using JSON3](https://discourse.julialang.org/t/saving-complex-numbers-using-json3/83452)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 7:06pm UTC](https://discourse.julialang.org/t/saving-complex-numbers-using-json3/83452 "2022-06-28T19:06:11Z")

</div>

I am trying to save Complex numbers in json files formatted in a python compatible way as using JSON3 c = 1+5im d = Dict("c" =\> c) jsonstring = JSON3.pretty(d) #= should be { "c" : 1+5j } =# This is how far I got, …

---

## [Why does Julia not support JSON syntax to create a Dict?](https://discourse.julialang.org/t/why-does-julia-not-support-json-syntax-to-create-a-dict/42873)

<div class="topic-metadata">

**Author:** [@xareelee](https://discourse.julialang.org/u/xareelee)\
**Replies:** 27\
**Last updated:** [April 25, 2022, 3:27pm UTC](https://discourse.julialang.org/t/why-does-julia-not-support-json-syntax-to-create-a-dict/42873 "2022-04-25T15:27:55Z")

</div>

JSON syntax for creating Dict/Array is really handy, especially in web development. It’s useful and high productivity when you copy data and paste to code from Stackoverflow, MongoDB or any JSON string. Just curious, wh…

---

## [Json/bson dsl](https://discourse.julialang.org/t/json-bson-dsl/79940)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 3:16pm UTC](https://discourse.julialang.org/t/json-bson-dsl/79940 "2022-04-25T15:16:44Z")

</div>

Hi, I’ve been playing a bit with Mongoc which is a thin layer on top of the MongoDB C library. MongoDB is leaning heavily into JSON, which makes for non-intuitive code (from the Mongoc docs): create\_indexes\_cmd = Mongo…

---

## [Read and convert JSON file from a website](https://discourse.julialang.org/t/read-and-convert-json-file-from-a-website/79556)

<div class="topic-metadata">

**Author:** [@Aminath\_Shausan](https://discourse.julialang.org/u/Aminath_Shausan)\
**Replies:** 9\
**Last updated:** [April 24, 2022, 8:38am UTC](https://discourse.julialang.org/t/read-and-convert-json-file-from-a-website/79556 "2022-04-24T08:38:26Z")

</div>

Hi I am trying to download the json file from https://raw.githubusercontent.com/hodcroftlab/covariants/master/cluster\_tables/EUClusters\_data.json And then to save it as a csv file. At the moment I have used using CSV, …

---

## [String compression on windows](https://discourse.julialang.org/t/string-compression-on-windows/69585)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 17\
**Last updated:** [February 11, 2022, 11:03am UTC](https://discourse.julialang.org/t/string-compression-on-windows/69585 "2022-02-11T11:03:38Z")

</div>

Hi all :slight\_smile: I’m forced to use windows. Is there any string compression pkg that can be used on windows? (like https://github.com/ararslan/Shoco.jl) Thank you!

---

## [JSON.print throws stack overflow error](https://discourse.julialang.org/t/json-print-throws-stack-overflow-error/73733)

<div class="topic-metadata">

**Author:** [@cocoa1231](https://discourse.julialang.org/u/cocoa1231)\
**Replies:** 0\
**Last updated:** [December 28, 2021, 11:01pm UTC](https://discourse.julialang.org/t/json-print-throws-stack-overflow-error/73733 "2021-12-28T23:01:11Z")

</div>

So I was trying to export the Plots.PyPlot.matplotlib.rcParams dictionary to a JSON file so I could use that configuration in my Python code (since the default plots made by Plots.jl are quite nice looking), so I wrote t…

---

## [Writing Data to JSON Files on HPC Cluster](https://discourse.julialang.org/t/writing-data-to-json-files-on-hpc-cluster/67943)

<div class="topic-metadata">

**Author:** [@Noah\_Guzman](https://discourse.julialang.org/u/Noah_Guzman)\
**Replies:** 4\
**Last updated:** [September 11, 2021, 4:53pm UTC](https://discourse.julialang.org/t/writing-data-to-json-files-on-hpc-cluster/67943 "2021-09-11T16:53:54Z")

</div>

Having some issues saving the output of Julia simulations (stochastic differential equations) in a SLURM cluster to JSON files. The cluster manager and I have not been able to figure this out. My original program runs ma…

---

## [How to create a dictionary of dictionaries from an n-dimensional array?](https://discourse.julialang.org/t/how-to-create-a-dictionary-of-dictionaries-from-an-n-dimensional-array/66605)

<div class="topic-metadata">

**Author:** [@Mitch](https://discourse.julialang.org/u/Mitch)\
**Replies:** 4\
**Last updated:** [August 18, 2021, 8:50pm UTC](https://discourse.julialang.org/t/how-to-create-a-dictionary-of-dictionaries-from-an-n-dimensional-array/66605 "2021-08-18T20:50:09Z")

</div>

Thanks for your help! I need to create a nested JSON file and the first step is to create a dictionary of dictionaries. The below should provide a minimum working example. Pkg.add("Random") #Sample of desired keys and…

---

## [JSON3 filtering a JSON object](https://discourse.julialang.org/t/json3-filtering-a-json-object/59412)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [April 16, 2021, 1:20pm UTC](https://discourse.julialang.org/t/json3-filtering-a-json-object/59412 "2021-04-16T13:20:14Z")

</div>

How can I do this? using JSON3 json = """ { "type": "FeatureCollection", "features": \[ {"type":"Feature","geometry":{"type":"Polygon","coordinates":\[\[\[-120.8519857235256,49.00031611973458\],\[-121.7597100…

---

## [Parsing Nested JSON into DataFrame using JSONTable](https://discourse.julialang.org/t/parsing-nested-json-into-dataframe-using-jsontable/58127)

<div class="topic-metadata">

**Author:** [@clibassi](https://discourse.julialang.org/u/clibassi)\
**Replies:** 1\
**Last updated:** [March 29, 2021, 10:00pm UTC](https://discourse.julialang.org/t/parsing-nested-json-into-dataframe-using-jsontable/58127 "2021-03-29T22:00:31Z")

</div>

I’m trying to parse academic publication data from Open Academic Graph, which stores the data in JSON format, but am running into an issue with parsing the below sample JSON they provide on the website because it is nest…

[Next page](https://discourse.julialang.org/tag/json/92.md?match_all_tags=true&page=1&tags%5B%5D=json)
