Category "json"

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

Datatables search, filter, and export with Firebase

I have a CRUD app powered by angular. Recently I added datatables to it in order to search, filter, sort,export and hide columns using the power of datatables.

Exclude empty/null values from JSON serialization

I am serializing multiple nested dictionaries to JSON using Python with simplejson. Is there any way to automatically exclude empty/null values? For example,

How to overcome "Conflicting setter definitions for property "?

I use com.fasterxml.jackson and io.swagger libraries. In my REST endpoint I use org.javamoney.moneta.Money type for a GET query. When deploying the war i get f

How can I get data from PHP to Android TextView?

How can I get data from PHP to Android? can you help me?, how can I display result of PHP to android textview this is my PHP code I should use JSON on this...