Category "json"

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...

LocalDateTime - deserialization with LocalDateTime.parse

I have the field initiationDate which serialises by ToStringSerializer class to ISO-8601 format. @JsonSerialize(using = ToStringSerializer.class) private Local

Posting a File and Associated Data to a RESTful WebService preferably as JSON

In an application I am developing RESTful API and we want the client to send data as JSON. Part of this application requires the client to upload a file (usuall

send json parameters to webservices

I got a task to scrap data from a site. Here is the site http://www.centris.ca/en/for-sale What i need to do is to scrap all the properties details. Below you w

can't watch multiple files with json-server

I've read about Fake json-server and I'd like to watch more than 1 file. In the instructions it is listed --watch, -w Watch file(s) but I'm not able to

How to reliably get the image used in the Wikipedia Infobox?

How do I (reliably) get the main image(s) used in the Wikipedia Infobox from the API? This question has been asked before and the accepted answer admits that i

POJO Json object wrapped in double quotes doesn't deserialize to Java

My application is receiving json objects from some source and these are wrapped as strings. These are not getting deserialized but throw exception like mentione

MongoDB BsonDocument - Serialize JSON as key-object

I have a doubt if it is possible to serialize a collection of BsonDocument results as a JSON pair of key objects. For example, I attach a piece of code that cre

How do I iterate an array of JSON data to always get the first JSON object

I'm trying to get the first JSON object from the video array, I only want to get full highlights and not the goals. { "response": [ { title: "United

Filter jsonb results in subselect

I'm building a hierarchical JSON result from several tables. These are just examples but should be sufficient for the purpose of this demonstration to get the i

Javascript: How to generate formatted easy-to-read JSON straight from an object? [duplicate]

Possible Duplicate:How can I beautify JSON programmatically? I know how to generate JSON from an object using JSON.stringify, or in m