python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Within a JSON string how does one for all string values of a given key replace any occurrence of a specific substring?
I'm looking for a way to replace a given string in a JSON by another string, but only for a certain key. For example, suppose I have the following JSON, data:
[
{
"name": "p...

Adam
Votes: 0
Answers: 2
Parse JSON list with no key in PLSQL
What I'm trying to do is fill up a table with the data from a JSON. The file is formatted like this.
[
{
"name": "Victor",
"age": "20"
},
{
&q...
Whiplax
Votes: 0
Answers: 5
How to resolve this error? java.lang.String cannot be converted to JSONObject
I am trying to set value for sponsorID to the textview but but I'm not able to parse response to lineetSponsor_name.setText(strSponsorId);
this is my code
TextView sponsorName,etSponsor_name;
String s...
Shweta
Votes: 0
Answers: 0
Checking two variables on condition from localStorage:
Is there a way to check to variable in localstorage ?
Storage {user: 'undefined', new: '{"_id":"61dd228336a3923d2286b994","email":"ahmadsa…","updatedAt&quo...
Ahmad Salihu
Votes: 0
Answers: 2