Category "json"

How to encrypt JSON in python

I have a JSON file. I am running a program, in python, where data is extracted from the JSON file. Is there any way to encrypt the JSON file with a key, so that

splunk : json spath extract

I have below event message in json format & need to extract the job names with STATUS = Unavailable. {"Failure":0,"Success":0,"In_Progress":0,"Others":1,"d

Dealing with API endpoints in flutter

I have started learning to code since a few days back, and am only familiar with HTML/CSS/JS, and basics of dart/flutter I am working on a Random quotes generat

Logback json configuration return no logs

I'm trying to get json logs from Nexus 3. Since it use logback, I tried ton change the logback.xml file but, for some reason, it result to no logs at all... Doe

Flutter Pull To Refresh

I've implemented this code to show a list of json data from a web url. I've tried to implement a simple pull to refresh, but nothing works. Flutter code is lon

Angular: Dynamically find headers when converting JSON array to HTML table

In Angular, I want to convert a JSON array to an HTML table. I have seen an old answer for AngularJS: <table> <thead> <tr> &

How to persist List<Object> as jsonb in hibernate

Below the Entity trying to persist : @Data @Entity @Table(name = "REQUEST") @TypeDef(name = "jsonb", typeClass = JsonBinaryType.class) public class Request { @

Removing and adding key-value from JSON file using jq

I have an json file as follows below- { "key1": [ "value1" ], "key2": [ "value2" ], "key3": [ "value3" ], "key4": { "name": "value

Javascript running locally but not on heroku node js

I have code which pulls a list of urls from a JSON file and then displays them. It is a node.js app. It works locally but then when I push to heroku it doesn't

Java getJSONArray when it is set to null

The problem happens when I'm trying to get children of a comment. If the child key is null, my application crashes and gives me this error: org.json.JSONExcept

Displaying JSON string on the Browser

I am currently working on developing a python REST API. How can I display JSON string on multi-lines on my Browser? This is what I want.

Check if two json arrays are equal regardless of the order in MySQL

I have a MySQL table: CREATE TABLE `test_table` ( `id` BIGINT, `json_config` JSON, ); json_config has a property called bookNames, whose value is a jso

json config reader in C++

I have this config data in this json, { "difficulty":-1, "damage":100, "infinite":true, "tilewidth":16, "type":"map", "version":"1.2.4"

React Native Metro bundler resolver issue with json (None of these files exist)

I have monorepo with React code and React Native code. react - common - - file.json ... react-native - App.js In App.js I tried to import json file from react/

How to use NASA's neos (near earth objects) API in sketchware pro

I'm trying to use NASA's neos API in sketchware pro, the response from the API is a JSON but not in proper structure, it's contains "[]" before Key's , for exam

Jolt Transform: Single Value can't be added to an Array

I have the following Jolt Spec [ { "operation": "shift", "spec": { "*": { "value": "[]" } } }, { "operation": "shift

How to set precision for json_real while doing json_dump using jansson library

If a double value of 8.13 is passed into json_real and dump the json i see that its printing 8.1300000000000008, Is there any way to get 8.13 or 8.1300000000000

read onedrive api errors

I am current using the following to try and create an upload session with the onedrive api HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); requ

Discord webhook post to channel thread

How does one use Discord webhooks to post to a channel thread, not the channel itself? For example, I have a text channel called videos in which are a number of

How to update few fields in JSON file and again read the JSON with updated values in selenium using Java

How to update few fields in JSON file and again read the JSON with updated values in selenium using Java. Below is my JSON : I want to update { "DemoFileJson