Category "parsing"

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

Using jq to stream, filter large json file and save output as csv

I have a very large json file I would like to stream (using --stream) and filter with jq, then save it as a csv. This is the sample data with two objects: [{"_i

Extract string between the tags in Java

I have string like below Msg_Begin Some message1 Msg_End Msg_Begin Some message2 Msg_End Msg_Begin Some message3 Msg_End And want to get the message between

c# parse date time with timezone

How can we parse date time with time zone. <TIMESTAMP_UTC>20180523160000</TIMESTAMP_UTC> <TIMEZONE>UTC+8</TIMEZONE> this should conve

How to parse json format output of : kubectl get pods using jsonpath

How to parse the json to retrieve a field from output of kubectl get pods -o json From the command line I need to obtain the system generated container name

How to extract tables names in a SQL script?

Assuming there is a sql script: select * from ( select col1 from test.test_a join test.test_a1 on a.col1 = a1.col1) a left join test.test_b b on a.col1 = b.

GEDCOM parser in JavaScript

I have been looking for a GEDCOM parser in JavaScript. Does one exist at the moment? I have found them in many languages but not in JavaScript yet.