Every valid string can be a valid key in JSON. So parentheses in key names are possible.

It is up to the application to interpret the content of the parentheses.

Answer from wizardofOz on Stack Overflow
Discussions

Clean up double brackets for JSON parse
I get the output from an API with double brackets “[[” at the start of the data and “]]” at the end of the data Which means when trying to parse Json , the result isn’t an actual json because it doesn’t recognise the format (even if I have put the right format in place). More on community.make.com
🌐 community.make.com
12
0
September 16, 2022
How to ignore leading parenthesis in JSON?
Today I've just discovered jq and have started experimenting with it, but I'm facing a problem for which I can't seem to find a solution. I have the following (shortened) JSON that look... More on github.com
🌐 github.com
14
May 5, 2015
php - Manipulate JSON node to have [] parentheses - Stack Overflow
Json response from 3rd party platform which I cant control. More on stackoverflow.com
🌐 stackoverflow.com
string that contain parentheses to json? - javascript
I need to pass it to json format, and that it remains as follows. More on stackoverflow.com
🌐 stackoverflow.com
August 21, 2020
🌐
TutorialsPoint
tutorialspoint.com › json › json_syntax.htm
JSON - Syntax
Let's have a quick look at the basic syntax of JSON. JSON syntax is basically considered as a subset of JavaScript syntax; it includes the following − Below is a simple example − JSON supports the following two data structures −
🌐
Quora
quora.com › What-do-brackets-mean-in-JSON
What do brackets mean in JSON? - Quora
Answer (1 of 2): JSON requires a number of delimiters, each of which means something different. * Curly braces (sometimes called curly brackets) (‘{‘ and ‘}’): These denote the beginning and end of an object. An object is a collection of zero or more name:value pairs.
🌐
Make Community
community.make.com › questions
Clean up double brackets for JSON parse - Questions - Make Community
September 16, 2022 - I get the output from an API with double brackets “[[” at the start of the data and “]]” at the end of the data Which means when trying to parse Json , the result isn’t an actual json because it doesn’t recognise the…
🌐
W3Schools
w3schools.com › js › js_json_syntax.asp
JavaScript JSON Syntax
A JSON object is written between curly braces { }.
Find elsewhere
🌐
W3Schools
w3schools.in › json › json-syntax
JSON Syntax - W3Schools
JSON syntax is regarded as a subset of JavaScript syntax. This lesson describes how to write JSON syntax.
🌐
GitHub
github.com › jqlang › jq › issues › 780
How to ignore leading parenthesis in JSON? · Issue #780 · jqlang/jq
May 5, 2015 - Today I've just discovered jq and have started experimenting with it, but I'm facing a problem for which I can't seem to find a solution. I have the following (shortened) JSON that looks like this: parseMetadata({"STATUS":"OK","VERSION":...
Author   jqlang
🌐
Community
community.safe.com › home › forums › fme form › transformers › json validation issue - brackets, braces, commas (confused!!!)
JSON Validation Issue - Brackets, Braces, Commas (CONFUSED!!!) | Community
November 19, 2018 - So, I looked at the output of what another area is expecting and I manually modified the file to see if the updates I made were valid. The short of it is, I need to modify what's in my JSONTemplater to add a comma (,) before each NEW record and add brackets ([ ]) around the entire output file.
🌐
Stack Overflow
stackoverflow.com › questions › 63525325 › string-that-contain-parentheses-to-json
string that contain parentheses to json? - javascript
August 21, 2020 - const gray = "#CCC"; const white = "#FFF"; const weirdParse = string => { const temp = JSON.parse(string); Object.keys(temp).forEach(key => { if (temp[key].includes("=>")) { temp[key] = new Function(`return ${temp[key]}`)() } }); return temp; } let string = `{"background": "linear-gradient(to right, #8ca6db, #b993d6)", "color": "(rowData, colkey, cellValue, rowIndex) => cellValue > 1 ?
🌐
Hubrise
hubrise.com › docs › hubrise-logs › understanding-json-syntax
Understanding JSON Syntax | How to Read HubRise logs
At level 0 of indentation, there are the two curly brackets that mark the beginning and end of the request. At level 1 there are the items, payment and service type nodes. The higher the level of indentation, the deeper is the element in the structure of the JSON object.
🌐
GitHub
github.com › outlines-dev › outlines › issues › 838
Cannot generate parentheses in JSON strings · Issue #838 · dottxt-ai/outlines
April 25, 2024 - It looks like for some reason, opening and closing parentheses were added to the prohibited characters for strings.
Author   dottxt-ai
🌐
GDevelop
forum.gdevelop.io › how do i...?
Have square brackets show up as strings in loaded JSON - How do I...? - GDevelop Forum
May 25, 2022 - I use a json file for all of my words in my game to make it easier for translations. I need to be able to use square brackets when narrators change to signify that. However, I can not get the actual square brackets to show up in the game itself. If I use regular text, like I think I should, ...
🌐
blog.
blog.jayway.com › 2013 › 04 › 01 › three-undocumented-features-of-json-3
Three Undocumented Features of JSON - blog.
April 1, 2013 - It’s not documented on the official JSON page, and it’s not widely used, probably because most developers that do know about it, believe that arrays are sufficient for their needs. A list is delimited by parentheses, (), and contains zero or more comma-separated elements:
🌐
GitHub
github.com › nlohmann › json › issues › 3682
The use of parenthesis gives compilation errors in some situations · Issue #3682 · nlohmann/json
August 6, 2022 - Just adding an space to the end of the string solves the problem: json test = R"({ "a": "b) "})"_json; just add the above code to any part of your program. The string will be threated as string instead to threat the parenthesis as a end of the ...
Author   nlohmann
🌐
Matt Doyle
elated.com › home › blog › json basics: what you need to know
JSON Basics: What You Need to Know
July 23, 2022 - JSON is a simple, text-based way to store and transmit structured data. By using a simple syntax, you can easily store anything from a single number through to strings, arrays, and objects using nothing but a string of plain text.
🌐
Attacomsian
attacomsian.com › blog › what-is-json
A Beginner's Guide to JSON with Examples
October 3, 2022 - A comprehensive guide to understand what is JSON (JavaScript Object Notation), what are JSON data types, and how to use it with examples.