Category "parsing"

CsvHelper mapping issue

I have a question related to CsvHelper library and I cannot figure out how to map a csv file to the following MyClass object. the csv file look like: id, Proper

jq how to pass json keys from a shell variable

I have a json file I am parsing with jq. This is a sample of the file [{ "key1":{...}, "key2":{...} }] [{ "key1":{...}, "key2":{...} }] ... each line is a list

Find the maximum value from JSON data in Scala

I am very new to programming in Scala. I am writing a test program to get maximum value from JSON data. I have following code: import scala.io.Source import sc

parsing airtable json to flutter podo

I'm new in flutter and I have issue with parsing JSON on HTTP response. I'm using Airtable backend, to store information about posts. These always contain image

Hibernate 6: What is SQM?

In the Hibernate 6.0 Roadmap (https://github.com/hibernate/hibernate-orm/wiki/Roadmap6.0) SQM is mentioned as upcoming. What is SQM? In this roadmap the follo

How to setup Javacc in windows 10 [closed]

How do I install javacc in Windows 10? I visited https://javacc.github.io/javacc/, but there's no clear instruction to set it up on Windows.

Function to parse automaticly files .txt after 24 hour in c++

I have a project and I'm new to C++ Well I have to parse a file.txt that contains transaction informations in an ATM. And there is files named as the date of th

Parsing input copied from a Windows UI on Windows newline characters

I am trying to parse the following input, copied from a UI if that matters, on Windows newline characters (appears to be \r\n) in Python 3.8. "sample_key" : {

How to parse a string to array in js

I have an a string like the following, var x = "[{"k":"1"}]"; console.log(x[0].K); I ant hange this string sine I am getting from the server.Its out of my co

Convert camelCase to snakeCase

I have a dictionary something like this: { 'firstName': 'abc', 'lastName': 'xyz', 'favoriteMovies': ['Star Wars', 'The lone ranger'], 'favo

Why must < be escaped in an XML attribute?

I wonder a bit why < must be escaped in an XML attribute, e.g. <foo bar="3 < 4" /> From the surrounding (inside a tag, inside an attribute value) i

How can I display JSON data in a Salesforce Visualforce Page?

EDIT : Here's what I was thinking for the callout : public class APISocieteCallout { String searchContent= //Content of the search String apiKey= 'XXXXXXXXXXXX

VBA-Json Parse Nested Json

Thank you to @QHarr for working on this with me! My goal is to grab the values for each of the nested categories from "orders" my json: { "total": 14, "

How can we programmatically get call hierarchy for methods in IntelliJ

Getting call hierarchy is easy in IntelliJ. Simply use the built in tool. But is there a way to do it using code? Eclipse internal JDT has two classes called Ca

How to parse over different elements in a HTML document (in Dart/Flutter) and keep the order intact

I have a large HTML document containing important information of different types in sequence. I'm parsing in Dart/Flutter Obtaining the raw information is fine

How to parse json to get all values of a specific key within an array?

I'm having trouble trying to get a list of values from a specific key inside an json array using python. Using the JSON example below, I am trying to create a l

Excel - We found extra characters at the end of JSON input

I am trying to import my json file to excel via the get data function. When doing this i get an error saying that "We found extra characters at the end of JSON

Combining unary operators with different precedence

I was having some trouble with Bison creating an operator as such: <- = identity postfix operator with a low precedence to force evaluation of what's on the

Cpp: JSON parser in Cpp that provide support Serialize/Deserialize feature, converting JSON objects to user-defined classes?

I'm working on native C++ development and looking for JSON parser that can handle complex JSON files and convert into class objects. I've looked at native ben

Uncaught SyntaxError: Unexpected token & in JSON at position 1 at JSON.parse (<anonymous>)

I am trying to parse JSON but it keeps returning Uncaught SyntaxError: Unexpected token & in JSON at position 1 at JSON.parse (<anonymous>) The c