Skip to main content

All Questions

Tagged with
0 votes
1 answer
154 views

Parsing/Fetching json in Android Studio Java

I want the Fetch Button to display/list only the values of a and b from the object 1 { "1": { "a": "a", "b": "b", "2": {"...
potatolol's user avatar
1 vote
1 answer
178 views

How can I JSON stringify and then parse an object with functions? (JavaScript)

I have an object with both attributes and functions, and I want to be able to stringify them into JSON, then parse them back out again for a save-load system. Keep in mind, the data has circular ...
Richard Yang's user avatar
0 votes
1 answer
23 views

Retrieve Json parse object

I’m trying to retrieve certain data from an object. From what I am told this is called a JSON parse (this is new to me but that’s what I’m told it’s called). I’ve searched stack + multiple sites and I ...
Dan's user avatar
  • 1,650
-4 votes
3 answers
902 views

How to parse JSON object, if one of it's key has strigified value [closed]

On the following, the key c has a stringified value: let obj = { a: "apple", b: 2, c: '{"p":"11","q":"22","r":{"x":"...
Siva rama krishna Bethu's user avatar
1 vote
0 answers
38 views

Accessing JSON attributes Object Header vs Expanded Form

Can anyone clarify why some JSON attributes are present in expanded form (when you expand the object or click the drop-down) but not in the header or collapsed versions? I can only seem to access the ...
Brandon Bell's user avatar
1 vote
1 answer
2k views

How can I display JSON data in a Salesforce Visualforce Page?

EDIT : Here's what I was thinking for the callout : public class APISocieteCallout { String searchContent= //Content of the search String apiKey= 'XXXXXXXXXXXXXXXXXXXXXX'; String requestEndpoint += '...
HaceneCh's user avatar
0 votes
2 answers
3k views

How to Parse multiple JSON files to a Same Javascript object?

There is a folder with multiple JSON files that are in the same JSON format. Each file contains the following information: first name, last name, birthday, address, and phone number. Your task is to ...
Adnan Sparrow's user avatar
0 votes
0 answers
568 views

Error when I try to convert Json String to Object DTO in Java

I am trying to convert a JSON to a disc that I already have implemented in my code and in this way be able to access the values of the properties with which the disc will remain to build a logic in ...
flosan17's user avatar
0 votes
1 answer
123 views

Flutter Dart Parsing Json Strings into Objects

Sup! So my problem is, my Dashboard Model isnt getting data assigned from the json string parsed.Basically Dashboard.userActivity and Dashboard.appName are NULL when i print into console. I cant realy ...
informatiker's user avatar
1 vote
2 answers
2k views

Parse JSON objects and collection using VBA

I have a JSON file which contains: array("components") of Objects some of objects may have sub array("components") some don't. I need to extract the labels, keys of that array also ...
VBAbyMBA's user avatar
  • 816
-1 votes
1 answer
820 views

How can i parse Json array object using gson library [duplicate]

/* This is my json file */ { "firstname": [ "rohit", "sagar", "sandeep", "rahul", "sweta", "priya" ] } /* MainActivity.java */ ...
Rohit Kashyap's user avatar
0 votes
0 answers
151 views

Can't properly compare 2 JSON files in PowerShell

I've recently been working on a project that needs me to compare two JSON files and return the differences between both in PowerShell. I recently started to learn the language, and I've come across ...
pironc's user avatar
  • 51
-1 votes
1 answer
85 views

String cannot be converted into JSON in Javascript

self.str = " {"queryString":"user=test&password=1 OR TRUE ; -- ' OR TRUE; -- OR TRUE; K2FUZZ " OR TRUE; -- OR TRUE; K2FUZZ '","clientIP":"127.0.0.1&...
harsh's user avatar
  • 114
0 votes
2 answers
164 views

Validate and format a JavaScript object to a JSON format

I have to send a given javascript object from angular to backend(nestJS), { service: { port: 3080, }, datasource: { m3: { rest: { url: 'https://...
Sadusha Nadeesh's user avatar
0 votes
2 answers
448 views

Use JSONPathUtil.eval to extract object information

I am working with data retrieved from API that is in JSON format. I am limited to using JSONPathUtil.eval as well. Given sample GET data I have the following output: { "ResponseSample":&...
Chad's user avatar
  • 83

15 30 50 per page
1
2 3 4 5
8