Skip to main content

Questions tagged [json]

JavaScript Object Notation (JSON) is an open, human and machine-readable standard that facilitates data interchange, and along with XML is the main format for data interchange used on the modern web.

1 vote
1 answer
53 views

So I’m experimenting with a lightweight way to track and safely update parts of JSON data stored in SQLite, using Python. The main goal is to: Keep JSON documents inside an SQLite database (in a TEXT ...
Jean Dupont's user avatar
3 votes
1 answer
401 views

Given the following jsonb array, I want to filter it only for certain objects. [ { "id": "123" }, { "id": "456" }, { "id": "...
Charlieface's user avatar
  • 18.1k
1 vote
1 answer
69 views

I have always stored Application Options as an Ini file on windows as it has been faster to access than the database. Also, sometimes, you need to read some of them before accessing the database. The ...
Rohit Gupta's user avatar
  • 2,158
1 vote
2 answers
216 views

I'm working with a MariaDB database where I have a table with two columns: id and values, where values contains JSON arrays. Here is a simplified example of the data: id values 1 "[1, 2, 3]" ...
Emax's user avatar
  • 111
4 votes
1 answer
392 views

If... INSERT INTO TABLE_NAME SELECT STRING_AGG(COLUMN_NAME, ',') FROM TABLE_NAME introduces an anti-pattern (i.e., can cause poor performance, incorrect results (kindly verify ...
DevQt's user avatar
  • 205
2 votes
1 answer
50 views

I have a table with data we've collected from various sources. It's got the item name, the source and the source's value. The table looks like the following: id name source value 1 abc web 1 2 abc ...
gen_Eric's user avatar
  • 121
5 votes
1 answer
707 views

I know something about null characters in PostgreSQL text types. But I cannot understand the strange behavior of json testing and casting: select '{"foo":"bar\u0000"}' is json; --...
Oleksandr Penko's user avatar
0 votes
1 answer
145 views

I have a Postgres table with json column as dataset_metadata. It stores an epoc time in array looks like: select event_type ,technology ,dataset_metadata->> 'intervals_epoch_seconds' ,add_ts ...
Vikrant Singh Rana's user avatar

15 30 50 per page
1
2 3 4 5
45