Category "json"

Scala Jackson deserialization failing with "non-static inner classes" error version Jackson2.10

I am trying to upgrade from Jackson-2.5 to 2.10 Below deserialization code was working for me, before but post upgrade the solution is failing with following er

Getting the value from the response element using GPath and Rest Assured

I want to get the value of status from my response. So that i can assert it. I'm using rest assured with java & serenity BDD. Response { "locationType":

Search and filter text from a column using Pyspark

I am new to Data Scraping. I am reading the data from a file having JSON objects as one row {"name": "Soul Sweet \u2018Taters (Step-by-Step!)", "ingredients":

Import JSON data into a Microsoft Word template?

I am currently working on an application that grabs information from an API and returns it as JSON. The purpose of all the data is to fill in a Microsoft Word d

how to get data in json using urllib3 in python

I am making simple ip-info provider using python-urllib3, how should i fetch data to values import json import urllib3 while True: ip=input("Enter Ip Addr

Find the "bad control character" that json_decode fails on in PHP?

I have a lot of JSON strings that are 25-50Kb each. I convert these to arrays with json_decode() and it works fine almost every time... But now I have ran into

Folding JSON strings to send in header variables - Mailgun

I'm trying to use the JS Mailgun API to send emails. Have it working fine, until I throw template variables into 'h:X-Mailgun-Variables' like so, where jsonStri

How to create and open a json file?

Does anybody know why this code doesnt work? We are trying to create a json file and write some information in it. The aim is to create a user account, save the

How to loop and display array of objects and their nested arrays

I need help, I got stuck on objects with multiple nested arrays. I have a json file which consists of object, that holds array of objects, and these objects hav

Query if an azure table exists from azure logic app

I'm trying to create a table in azure storage tables IF it does not exists already. I did query the tablename list and put them in an array How can query my ar

Parsing JSON in React Native

I am currently using Google Firebase Firestore as a REST API. I feel like I am missing something quite basic as I am having a difficult time displaying data. I

Any array in JSON object is not empty

Is there a clever way to check if any array in a JSON element is not empty? Here is example data: { a = [] b = [] c = [1,2,3] }

RestAssured: posting json request having both String and Integer

I just want to POST json request(using restassured), for such json: { "userId": 1, "id": 111, "title":"test msg" "body": "this is test msg" } Im defining

How do you use a JSON array in a "WHERE IN" clause in MariaDB

I am using MariaDB version 10.2 I have an array of GUIDs stored as JSON in a table and I want to select rows from another table where the ID matches any of the

How to automatically reload the ajax/jQuery table data after a button click

I have created a jQuery/ajax API call function to read the JSON data and insert it into the HTML table and it works fine, But I want to auto-reload the table da

Jolt transform specification input

i have the following input json: { "tags": { "event": "observation", "source": "hunter" } } The output JSON should look like below: { "tags" : [

Fetching local JSON

How can I fetch a local JSON file that is in my directory? the JSON file looks like this: [ { "name": "Sara", "id": 3232 }, { "name": "Jim

How can I edit this TextField?

I have an Material UI text field which is populated by a nested JSON object pulled from an API. Data can be displayed in either a TextField, a Date Picker, or a

jq replace part of value in json

I need to replace part of a value from a json output. I could easily do this using sed -i however it would also replace other parts of the file I don't want it

Undefined Array Key error when uploading image on php

im new here, hope to grow into this community. I am currently learning php and i am making a program to upload a file. i found a tutorial with some code that ma