160 questions
Score of 0
1 answer
110 views
Parse data from Google Directions API using GSON
My api response is this -
{
"geocoded_waypoints": [],
"routes": [
{
"bounds": {},
"copyrights": "Map data ©2024",
"legs": [
{
"distance&...
Score of 0
2 answers
138 views
invalid characters when using json object in gitlab
this is the code that i used in gitlab bash:
kubectl --kubeconfig=$KUBECONFIG -n $NAMESPACE_NAME patch service $CI_PROJECT_NAME -p '{"spec": {"selector": {"app.kubernetes.io/...
Score of 0
1 answer
82 views
How can I access JSON objects in flutter?
Below is my code where I need to access the 'code' json object from response body and show the alert but my code is failing and throwing Invalid response(executing only the else part). The execution ...
Score of 0
1 answer
101 views
How to fix this error: type org.json.JSONArray cannot be converted to JSONObject [duplicate]
I want remove key and value for ProductCharacteristic ->name. How it can be done in Java and how to fix this error?
type org.json.JSONArray cannot be converted to JSONObject
This is my JSON file:
[
...
Score of 0
1 answer
48 views
How to get the value of a specific element from JSON using PostgreSQl
I have the following JSON object in PostgreSQL. I am trying to write a query to get me the details of "Elements"
{
"ItineraryId": 0,
"ForceSingleSearchForFlights": ...
Score of 0
1 answer
87 views
JavasScript fetch/get Request / 2 times / 3 times click button [duplicate]
I am relative new to JavaScript.I have a "strange" problem: I have two input fields which when I click the sndBtn (clickEventListener), then 3 functions are called, all with a fetch/get ...
Score of 1
1 answer
108 views
convert jsonString contains special characters to jsonObject
I have jsonString which contains special characters.I want to remove these special characters to obtain proper jsonString then jsonObject.
My code is :
String text="\"\"\\\"\\\\\\\...
Score of 0
1 answer
117 views
Bad URL Performing Second Volley Request Android Studio
New to mobile dev and following along a set of video tutorials. I perform a JSON Object request at the beginning of an activity. I need to perform a second request, but this time for an image using a ...
Score of 0
1 answer
136 views
How can I get the value on a position from a JSON Response on Android Studio?
I want to get the value of a specific object from this response, but I still don't understand at all the rules of the hierarchy.
The values I want are :
"F0092_AN8": 258523
and
"...
Score of 0
1 answer
41 views
JSONObject Request does not get called frequently Android
I have a JSONObjectRequest that wont get called everytime. So there will be no response. I also have another JSONObjectRequest that will always be called. Sometimes i change the code in the ...
Score of 0
1 answer
83 views
How to access and loop though nested Json in Groovy
I am trying to access and loop a nested Json in Groovy for testing purpose, the file saved in a file
below is how the structure is
{
"dunsNumber": 0,
"branches": 25,
"...
Score of 0
0 answers
91 views
Get value from xml/json file in vb.net
I am using Vb.net and I have written following code to get data using json object deserialization.
abc is a string format and the value is:
{
"state":"success",
"...
Score of 1
1 answer
349 views
How to iterate through JSON Array or JSON object in JSP using JSTL
I'm having this json:
{
"maxAgentAmt": 66,
"minComAmt": 3,
"maxTxn": 7,
"maxAmt": 99,
"minAmt": 3,
"maxComAmt": 99
}
and I also have to get ...
Score of 0
1 answer
285 views
How to get value from json object url in android
I am trying to get url from a json
{
"file_length":300,
"versions":[
{
"size":38267700,
"url":"https:\/\/sto006.sh-content.com\/v\/01\/00158\/v4h6zad7kdr1_n\/...
Score of -1
1 answer
1067 views
is "JSON_OBJECT()" function supported in H2 DB?
I am trying to query a H2 table using JSON_OBJECT. but the error message says, there is no function like JSON_OBJECT.
I am trying something like:
SELECT JSON_OBJECT(LABEL , DETAIL_DATA )
FROM DB....