Category "json"

How to deserialize interfaces with Newtonsoft Json.Net

I have this class hierarchy : public class ProxyBotsSnapshotLogEntryDetails : IBotsSnapshotLogEntryDetails { public ICollection<IBotSnapshot> Snapsho

How to generate JSON Stringer in Android for this format

I need to send data to database in this format - {"param1":"value1", "param2":"value2", "param3": {"username": "admin", "password": "123"}} How to generate

Convert two types into a single type with Serde

I'm writing for a program that hooks into a web service which sends back JSON. When a certain property isn't there it provides a empty object, with all its fie

JAVA - JSON Serialize a list of enum to a class

I have this enum: public enum Days implements Serializable { MONDAY, TUESDAY, WEDNESDAY, ... } I want to use it in a Store class: public cl

How to install JQ on Mac on the command line?

I need to know the most efficient way of installing JQ on Mac (El Capitan). The code is downloaded to my Mac but I would like to know how I can install and oper

How to load data in one fragment in Android

I want show 3 fragments in my Activity and load data from json in any fragments! I want show each json data into one fragment, but in my application show all of

Check if the response of a get api is a proto object

I fetch a proto object from an api , is there anyway I can validate that the response is a proto object. One thing which I did was check content-type as mentio

Coldfusion cfhttp multipartType - How do I send JSON and file in same request?

I'm up against an API that has very sparse documentation. I've tried everything (more below) but the end result is a response from the 3rd party server: The giv

discord.py add different str object to different users

So I'm trying to make a command that adds the name of a song to an user. I just don't understand how I should do that. I tried looking on the dictionary documen

Access quoted_status object in Tweepy API.search_tweets

I have trouble in accessing parts of the objects that get returned from Tweepy's search_tweets API. I can easily navigate through most of the objects, but someh

How to send nested raw JSON in URLSession to Vapor API?

I have a Vapor API that has a route to register users. This route recibes a nested object in JSON format like this: { "name": "Test", "email": "test1@te

Read JSON to pandas dataframe - ValueError: Mixing dicts with non-Series may lead to ambiguous ordering

I am trying to read in the JSON structure below into pandas dataframe, but it throws out the error message: ValueError: Mixing dicts with non-Series may le

Converting JObject to a dynamic object

I am calling a REST endpoint from C# and I am receiving json which gets serialized into an object. One of the properties on this object is a dynamic property. T

This pack is missing one or more dependencies - JSON behavior pack code is not working. -Minecraft bedrock

I have been trying to get this Minecraft bedrock behavior pack working for a while now. I used a guide, so I could learn how to make behavior packs but no matte

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= 'XXXXXXXXXXXX

Truncate long strings inside json in python

Given some json [ { "default_value": "True", "feature_name": "feature_1", "active_on": "remote_1,remote_2,remote_3,remote_4,remote_5

JSON single value parsing

In python you can take a json object and grab a specific item from it without declaring a struct, saving to a struct then obtaining the value like in Go. Is the

Convert JSON to CSV and maintain column order

I need to convert json to csv for an inventory feed with no headers and I have no problem with the conversion but the column order is getting changed. Is there

Match columns by values stored as JSON in another table

I have a table having a JSON datatype column which contains JSON array consisting of IDs for another table. I want to return matching rows from that other table

VBA-Json Parse Nested Json

Thank you to @QHarr for working on this with me! My goal is to grab the values for each of the nested categories from "orders" my json: { "total": 14, "