Query json data using Splunk

We have compressed data in json format at azure storage (tables and blobs) I want to ETL the data to relational DB in order to have the option to run sql queries on the data I have an utility which decompresses the data to json files, I did it via S...
more »

2017-03-19 14:03 (0) Answers

Deserialize JSON string to C# classes

OK, I'll try to be short and specific. I am getting a JSON string from an public API that looks like this: (short version of it, took only 2 samples) [{ "$type": "Tfl.Api.Presentation.Entities.Line, Tfl.Api.Presentation.Entities", "id": "bak...
more »

2017-03-19 12:03 (3) Answers

Using Fetch API to get flicker feed in json format

I manage to get json response from flicker feed api by using $.getJSON, but when i try to do it using Fetch i only seems to get an XML response. This works: var flickerAPI = "http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?"; $...
more »

2017-03-19 11:03 (1) Answers

How to get data from JSON using Angularjs?

var app = angular.module("app", []); app.controller('emp', ['$scope', 'empService', function($scope, empService){ $scope.doSearch = function(){ empService.findEmployeeById($scope.searchempno, function(r){ $scope.empn...
more »

2017-03-19 02:03 (2) Answers

Hive lateral view not working AWS Athena

Im working on a process of AWS Cloudtrail log analysis, Im getting stuck in extract JSON from a row, This is my table definition. CREATE EXTERNAL TABLE cloudtrail_logs ( eventversion STRING, eventName STRING, awsRegion STRING, requestParameters S...
more »

2017-03-18 21:03 (1) Answers

Android Listview search Json

I have a problem. I want to search my listview with SearchView or EditText and filter my Items if someone type some Text. But i don´t find the correct answere here because my json file comes from a php / mysql database. Can Someone help me ? Here i...
more »

2017-03-18 20:03 (1) Answers

Add another data to json array with PHP

I'm trying to create a JSON array with loop, I stored languages name in database and retrieving from query, after that I need to convert it into this format $arrayName = array('lang-1' => null , 'lang-2' => null, ..... ,'lang-n' => null ); ...
more »

2017-03-18 19:03 (2) Answers

How to set Object in array typescript

I want to create new array by json data But I have no idea to create Object! for show to page(loop for) my json data "LIBRARIES":{ "LIBRARY":[ { "status":"available", "callNumber":"123456" }, { "status":"available", "callNumber":"434356" } ] } an...
more »

2017-03-18 08:03 (2) Answers

deserialize Json into POJO

I am trying to convert the following JSON structure (part of a larger JSON object) to a POJO but getting the exception copied below (using Java/Jackson). JSON "outputKeys": {"ABC":"gGyIioUr4Jfr5QiCm6Z==", "DEF":"RxHfNyD2JyPOpG5tv3Jaj5g=="} Java...
more »

2017-03-17 21:03 (2) Answers

Android localized JSON files

I have two JSON files (both named countries): one in english inside the raw folder, and one in french inside the raw-fr folder. But no matter what language I select on the device, the app always loads the file under raw. I'm loading the JSON file as ...
more »

2017-03-17 13:03 (1) Answers

Exception out of memory from Android

I have a problem with restoring Images from the database to the android using a type byte [] and we pass ArrayList images to our adapter in which we use Glide, but I can recover more than 20 images of the database using service web PHP , applicatio...
more »

2017-03-17 10:03 (1) Answers

Jackson doesn't parse underscore fields

Call is successfully from below webservice although fields where JSON name contain underscore are omitted...being shown as null. ShopifyProduct shopifyProducts = target.path( "admin" ).path( "products").queryParam("view","json").request( MediaType.A...
more »

2017-03-16 15:03 (0) Answers

Deserialised class is blank - JSON C#

I'm deserialising a JSON API response into a class - but the class is empty after the code has run, i.e. doesn't appear to have deserialised at all. Here is an example of the JSON, called responsetext: {"ON":{"Date":"3/16/2017 10:12:51 AM","PARAM1"...
more »

2017-03-16 14:03 (3) Answers