Article
A web application often needs to communicate with web servers to get various resources. You might need to fetch data from or post data to an external web server or API. Using client-side JavaScript, this can be achieved using the fetch API and the window.fetch() function. In NodeJS, several...
Aniuchi Adaobi
NoSQL brought flexibility to the tabular world of databases. MongoDB in particular became an excellent option to store unstructured JSON documents. Data starts as JSON in the UI and undergoes very few transformations to be stored, so we get benefits from increased performance and decreased processing time. But NoSQL does...
Leandro Cofre
One of the first things you encounter while learning the basics of programming is the concept of strings. Similar to various programming languages, Python strings are arrays of bytes representing Unicode characters - an array or sequence of characters. Python, unlike many programming languages, doesn’t have a distinct character...
Muhammad Hashir Hassan
Working with files is a common task with any programming language. File manipulation requires us to know their location. One of the most fundamental ways to interact with files is to list files in a directory. In this article, we'll be using Node.js and the built-in fs module as...
David Landup
Redis is an in-memory data store, which can be used as a NoSQL database, cache, or as a typical message broker. It's written in ANSI C, which compiles into significantly efficient machine code and its ability to store data as key-value pairs makes in-memory caching an attractive use-case for Redis,...
Guest Contributor
In this article, we'll convert a JSON array into a Java Array and Java List using Jackson. Since we're using Jackson, you'll have to add it to your project. If you're using Maven, it's as easy as adding the dependency: <dependency> <groupId>com.fasterxml.jackson.core&...
A common development task is reading data from files. A common file format is the .csv format. While you can read CSV files using the fs module that comes with Node and get the content of the file, in most cases, parsing and further conversion is much easier with the...
In this tutorial, we'll be converting a Java Array into a Java Stream for primitive types, as well as objects. This can be done either via Arrays.stream(), as well as Stream.of(). Arrays.stream() A good way to turn an array into a stream is to use the Arrays...
Mehreen Saeed
In this tutorial, we'll be converting a Java Stream into a Java Array for primitive types, as well as objects. Stream.toArray() The toArray() method is a built-in method from the Stream class which is really convenient to use when converting from a Stream to an array. It works for...
© 2013-2026 Stack Abuse. All rights reserved.