Category "json"

Google's "define: " through an API?

I want to get the result of searches that use special features in Google, like "define: [phrase]" and I can't seem to find relevant information about this. Doe

Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1

using System; using System.Collections.Generic; using System.Linq; using System.Text; using Facebook; using Newtonsoft.Json; namespace facebook { class Pro

How to parse this json result without making class in C#

How can i parse this json without class in c#. I don't know what to use either an array or anything else. This is the json result i want to be parsed { "s

Is it possible to map only a portion of an array? (Array.map())

I am building a project using React.js as a front-end framework. On one particular page I am displaying a full data set to the user. I have an Array which conta

How to set json serializer settings in asp.net core 3?

json serializer settings for legacy asp.net core applications were set by adding AddMvc().AddJsonOptions(), but I don't use AddMvc() in asp.net core 3. So how c

Get date value from header

I'm trying to use Google Sheets as a JSON backend. The JSON output is here: "gsx$company": { //all is ok "$t": "Company name"

How to parse JSON using Node.js? [closed]

How should I parse JSON using Node.js? Is there some module which will validate and parse JSON securely?

Convert json value to int in c++

I'm reading a json value in c++ using Json::Reader reader and the value is stored in Json::Value root This root contains "age" and "id" and I want to conve

split json response in Qt

I have created a Restful Web Service in ASP.NET and would like to use it in my own Qt project. I can post to and get the data from my Web Service in the SoapUi

Falcon - how to validate incoming requests against Swagger specification?

What is the most convenient and comprehensive way of validating incoming requests in Falcon views against Swagger 2.0 specification written in json? I used to

How do I convert JSON with variable variable names into swift object?

I am working on a project with an API which gives me a JSON Object with some data in a variable. But the name of the variable under which the data is provided c

How to convert json schema to avro schema [closed]

My application has been using json schema (org.everit.json.schema.Schema ) to validate JSON messages whether they comply to a particular forma

How to convert from Json to Protobuf?

I'm new to using protobuf, and was wondering if there is a simple way to convert a json stream/string to a protobuf stream/string in Java? For example, protoS

how to convert an array of objects to json

I have an array of objects. now I want to convert them to json. var dd =new MyUser[10]; for (int i = 0; i < 10; i++) { Debug.Log

Automapper:Converting JSON to list of objects

Source Object (JSON, using JSON.NET if it matters): { "conum" : 1001, "name" : "CLN Industries Corporation", "agencyName" : "Murphy, Holmes & A

express.js - best POST json schema validator [closed]

I'm searching for a module to validate POST json requests in my Express.js application. What json schema module do you use in your node.js ap

ConvertTo-Json on VMWare objects doesn't work

In powershell while converting VM objects to json , ($json = ConvertTo-Json $vm -Compress) i am getting "An item with the same key has already been added" exc

How do I transform an array using Jolt?

I am getting a null value for my transformed object when trying to convert something like this: { "employees": [ { "f_name" : "tom", "l_name" : "smith"

Finding an API for getting lottery numbers from EuroMillions

I have been trying to create a google assistant interaction for checking to see if the most recently drawn lottery results match the user's I have tried an API

How to add an extra property into a serialized JSON string using json.net?

I am using Json.net in my MVC 4 program. I have an object item of class Item. I did: string j = JsonConvert.SerializeObject(item); Now I want to add an extr