Questions tagged [json-extract]

This tag is intended for questions dealing with accessing and reading data elements or series in JSON objects and/or representing such data elements or series with transformations.

126 questions
-1
votes
1 answer

How to do MySQL "IN" condition query with JSON_EXTRACT?

I have a table similar to the following: CREATE TABLE `foo` ( `foo_id` bigint(20) NOT NULL AUTO_INCREMENT, `data` json DEFAULT NULL, `data_type` int(11) NOT NULL, `data_status` int(11) NOT NULL, PRIMARY KEY (`foo_id`) ); insert some…
slashdottir
  • 7,835
  • 7
  • 55
  • 71
-1
votes
1 answer

How do I generate a virtual column of type timestamp in mysql from a json extracted date?

I have a field LOREM of type json in my mysql DB table BLAH. LOREM has a property createdOn which is a date formatted like so: 2020-03-05T04:30:00.000+0000 (This is the value retrieved by running the command: SELECT LOREM ->>'$.createdOn' FROM…
Dylan Colaco
  • 325
  • 2
  • 11
-2
votes
1 answer

How do I write the SQL query to fetch the data (image) from JSON

Json Object {"images": ["https://bijnis.s3.ap-south-1.amazonaws.com/2487dc60-c3b5-4cf9-a3a2-34f73683ac5a.jpg"], "remarks": "done", "documentList": [{"id": "GST", "value": "GST"}]}, GST,…
-2
votes
1 answer

Regex for JMeter JSON Extractor

I'm using JMeter to validate some HTTPS requests, and for that, I'm using one JSON extractor and I want to extract data from the JSON response I'm getting. So from the below payload, I want to extract oper_state from any resource where service_name…
-2
votes
1 answer

Json extraction using postgres

I have a json { "timer": { "19272": { "asset_id": 9354, "original_total_time": 5, "original_warning_time": null } }, "SEBKeys": [], "scoreMappings": [] } I need to extract 'original_total_time' value from this json…
-2
votes
1 answer

I need to extract each resourceList values and loop them in

{"result":{"moreRows":0,"resourceList":[204030,201319,178141,201926,204013,178148,178173,178174,178175,178177,165789,178181,178186,178187,178188,178189,178190,178193,178207,178208,178209,178216,178219,178222,178223,178225,202682,201729,204031,204014,…
suhas
  • 13
  • 2
1 2 3
8
9